From a66565220d89037ea9e636ae6ec6d7e22c3130c9 Mon Sep 17 00:00:00 2001 From: Sophie Herold Date: Sun, 22 Dec 2024 12:29:55 +0100 Subject: [PATCH] window: Leave fullscreen when switching to editing --- src/widgets/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/window.rs b/src/widgets/window.rs index d487231..d329c9b 100644 --- a/src/widgets/window.rs +++ b/src/widgets/window.rs @@ -253,6 +253,7 @@ impl LpWindow { edit_child.set_child(Some(&LpEditWindow::new(image))); self.imp().stack.set_visible_child(edit_child); + self.set_fullscreened(false); } else { log::error!("Can't open image editor since no current image exists"); }