Skip to content

Commit

Permalink
fix: closing tab with unsaved changes did not open save-dialog,
Browse files Browse the repository at this point in the history
fixed by correcting use of glib::Propagation::Stop
  • Loading branch information
flxzt committed Sep 16, 2024
1 parent 23ac620 commit f51a90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rnote-ui/src/overlays.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ impl RnOverlays {
#[weak]
appwindow,
#[upgrade_or]
glib::Propagation::Proceed,
glib::Propagation::Stop,
move |_, page| {
glib::spawn_future_local(clone!(
#[weak]
Expand All @@ -316,7 +316,7 @@ impl RnOverlays {
}
));

glib::Propagation::Proceed
glib::Propagation::Stop
}
));

Expand Down

0 comments on commit f51a90f

Please sign in to comment.