Fix Dereferencing _main_window where it could have been null
Compare changes
+ 7
− 6
@@ -405,8 +405,6 @@ bool Core::draw_trace(const string &filename, const int format) {
@@ -810,10 +808,13 @@ void Core::launch_action(int state, void *arg) {