summarylogtreecommitdiffstats
path: root/gtk.patch
blob: a98af62eeda772991000b88bd2928f14c5d02502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/system76driver/gtk.py	2014-05-10 00:19:43.755367421 -0400
+++ b/system76driver/gtk.py	2014-05-10 00:19:48.515363743 -0400
@@ -100,10 +100,10 @@
             self.details.set_text('\n'.join(lines))
             if self.action_runner.needed:
                 self.enabled['driverInstall'] = True
-                self.enabled['driverRestore'] = True
             else:
                 msg = _('All drivers have been applied, nothing to do.')
                 self.set_notify('gtk-ok', msg)
+            self.enabled['driverRestore'] = True
         self.set_sensitive(True)
 
     def set_sensitive(self, sensitive):