summaryrefslogtreecommitdiff
path: root/src/app-window.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-08-22 21:22:41 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-08-22 21:22:41 +0200
commita53bf1437c2f6c540647235dd0a768f82a2359aa (patch)
tree07f65a7ef910b50e9ada4b0f3728bd63130c9b25 /src/app-window.vala
parentba1de83ca246862cc302f30d452fba22a4dfc085 (diff)
parentb8895cd64388230fb276d32761b39f0edd3a689b (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/app-window.vala')
-rw-r--r--src/app-window.vala2
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 ());