Fix crash due to erroneous false load AppleEvents when command-line arguments are passed

The fix is just to initialize the dialog subsystem AFTER the main window, causing the AppleEvent handler to output the load failure to the log instead of showing a dialog
This commit is contained in:
2024-08-22 21:48:43 -04:00
parent f2469d1694
commit 8801d17ed5

View File

@@ -329,9 +329,8 @@ void init_boe(int argc, char* argv[]) {
init_tiling();
init_snd_tool();
init_ui();
adjust_window_mode();
init_ui();
// If we don't do this now it'll flash white to start with
mainPtr.clear(sf::Color::Black);
mainPtr.display();