SendSystemInfoDialog now opens through CallAfter, GL extensions are sorted

This commit is contained in:
Lukas Matena 2021-09-16 14:48:24 +02:00
parent bdc4c4cf30
commit a49c691241
2 changed files with 5 additions and 3 deletions
src/slic3r/GUI

View file

@ -669,9 +669,6 @@ void GUI_App::post_init()
if (app_config->get("show_hints") == "1" && ! is_gcode_viewer())
plater_->get_notification_manager()->push_hint_notification(true);
// 'Send system info' dialog
show_send_system_info_dialog_if_needed();
// The extra CallAfter() is needed because of Mac, where this is the only way
// to popup a modal dialog on start without screwing combo boxes.
// This is ugly but I honestly found no better way to do it.
@ -685,6 +682,10 @@ void GUI_App::post_init()
});
}
// 'Send system info' dialog. Again, a CallAfter is needed on mac.
// Without it, GL extensions did not show.
CallAfter([] { show_send_system_info_dialog_if_needed(); });
#ifdef _WIN32
// Sets window property to mainframe so other instances can indentify it.
OtherInstanceMessageHandler::init_windows_properties(mainframe, m_instance_hash_int);