fix crash if Splash::pop_back_for() is called without splash on-screen
This commit is contained in:
parent
9b0ffbfb94
commit
3cecc3d26b
@ -151,7 +151,9 @@ Splash::pop_back_for (Gtk::Window& win)
|
|||||||
hide();
|
hide();
|
||||||
#else
|
#else
|
||||||
set_keep_above (false);
|
set_keep_above (false);
|
||||||
get_window()->restack (win.get_window(), false);
|
if (is_mapped()) {
|
||||||
|
get_window()->restack (win.get_window(), false);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user