Skip to content

Commit

Permalink
fix: Add missing modal id for exit with unsaved changes
Browse files Browse the repository at this point in the history
  • Loading branch information
VisualEhrmanntraut committed Dec 23, 2024
1 parent 8304b68 commit 63b7406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ impl eframe::App for PlistOxide {
}

if self.closing {
egui::Modal::new(egui::Id::new("")).show(ctx, |ui| {
egui::Modal::new(egui::Id::new("ExitUnsaved")).show(ctx, |ui| {
ui.heading("Are you sure you want to exit?");
ui.separator();
ui.label("You have unsaved changes");
Expand Down

0 comments on commit 63b7406

Please sign in to comment.