Skip to content

Commit 52bb723

Browse files
author
unknown
committed
fix: disable main window interaction when mount dialog is active
1 parent 98fa0f9 commit 52bb723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl eframe::App for DiskApp {
196196
});
197197

198198
egui::CentralPanel::default().show(ctx, |ui| {
199-
ui.set_enabled(self.processing_disk.is_none());
199+
ui.set_enabled(self.processing_disk.is_none() && self.mounting_partition.is_none());
200200

201201
if self.is_loading_disks {
202202
ctx.request_repaint();

0 commit comments

Comments
 (0)