fix crash if Splash::pop_back_for() is called without splash on-screen

This commit is contained in:
Paul Davis 2019-11-08 16:56:59 -07:00
parent 9b0ffbfb94
commit 3cecc3d26b

View File

@ -151,7 +151,9 @@ Splash::pop_back_for (Gtk::Window& win)
hide();
#else
set_keep_above (false);
get_window()->restack (win.get_window(), false);
if (is_mapped()) {
get_window()->restack (win.get_window(), false);
}
#endif
}