mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-30 13:20:28 +00:00
Fix crash starting the program for first time (fix #2330)
Regression introduced in 6b6b9057bf95b7585f10ceaef80bbb2cbfbf8a26
This commit is contained in:
parent
55a1fa8b81
commit
3cd97c9822
@ -35,7 +35,8 @@ void MainMenuBar::reload()
|
||||
AppMenus::instance()->reload();
|
||||
|
||||
setMenu(AppMenus::instance()->getRootMenu());
|
||||
parent()->layout();
|
||||
if (auto p = parent())
|
||||
p->layout();
|
||||
}
|
||||
|
||||
} // namespace app
|
||||
|
Loading…
x
Reference in New Issue
Block a user