diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2020-08-24 21:23:55 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2020-08-24 21:23:55 +0200 |
commit | 459bdf5dc26593c96be4a3178fd5887de6ec4ded (patch) | |
tree | 70a1240f20e750bf7eebc352278f6c987d7fb87a /src/app-window.vala | |
parent | adb21854d19dd75df7ee1f38be3edec9ee66c825 (diff) | |
parent | 4406507507a7fb2fc0826e0ec657b548826fac51 (diff) |
Merge branch 'release/debian/3.36.4-1' into masterdebian/3.36.4-1
Diffstat (limited to 'src/app-window.vala')
-rw-r--r-- | src/app-window.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app-window.vala b/src/app-window.vala index 446353d..30adac9 100644 --- a/src/app-window.vala +++ b/src/app-window.vala @@ -245,6 +245,7 @@ public class AppWindow : Gtk.ApplicationWindow private void update_scan_status () { + scan_button.set_sensitive(false); if (!have_devices) { status_primary_label.set_text (/* Label shown when searching for scanners */ @@ -254,6 +255,7 @@ public class AppWindow : Gtk.ApplicationWindow } else if (get_selected_device () != null) { + scan_button.set_sensitive(true); status_primary_label.set_text (/* Label shown when detected a scanner */ _("Ready to Scan")); status_secondary_label.set_text (get_selected_device_label ()); |