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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user