mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-03 07:20:46 +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();
|
AppMenus::instance()->reload();
|
||||||
|
|
||||||
setMenu(AppMenus::instance()->getRootMenu());
|
setMenu(AppMenus::instance()->getRootMenu());
|
||||||
parent()->layout();
|
if (auto p = parent())
|
||||||
|
p->layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace app
|
} // namespace app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user