mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix assigning configured shortcuts to QuickCommands
As QuickCommands will be created in MainWindow widgets mainly, we have to create all widgets before we load the keyboard shortcuts.
This commit is contained in:
parent
297dbbf913
commit
264c59bbc1
@ -90,9 +90,6 @@ MainWindow::MainWindow()
|
||||
, m_devConsoleView(nullptr)
|
||||
#endif
|
||||
{
|
||||
// Load all menus by first time.
|
||||
AppMenus::instance()->reload();
|
||||
|
||||
m_menuBar = new MainMenuBar();
|
||||
m_notifications = new Notifications();
|
||||
m_contextBar = new ContextBar();
|
||||
@ -119,6 +116,9 @@ MainWindow::MainWindow()
|
||||
m_workspace->setExpansive(true);
|
||||
m_notifications->setVisible(false);
|
||||
|
||||
// Load all menus by first time.
|
||||
AppMenus::instance()->reload();
|
||||
|
||||
// Setup the menus
|
||||
m_menuBar->setMenu(AppMenus::instance()->getRootMenu());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user