Skip to content

Commit

Permalink
Fix open button not being re-enabled after stop.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Oct 11, 2024
1 parent b9b5d6b commit 7a6e730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,7 @@ pub fn stop_operation() -> Result<(), Error> {
ui.stop_button.set_sensitive(false);
ui.scan_button.set_sensitive(true);
ui.save_button.set_sensitive(true);
ui.open_button.set_sensitive(true);
ui.selector.set_sensitive(true);
ui.capture_button.set_sensitive(ui.selector.device_available());
if ui.show_progress.take().is_some() {
Expand Down

0 comments on commit 7a6e730

Please sign in to comment.