window: Leave fullscreen when switching to editing

This commit is contained in:
Sophie Herold 2024-12-22 12:29:55 +01:00
parent 7611b11b55
commit a66565220d

View file

@ -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");
}