Commits

Rodrigo Bistolfi committed 982f360

GTK: Fix next button disabled at mp selection

Comments (0)

Files changed (1)

vinstall/ui/gtk.py

         else:
             if "swap" in mpoint:
                 self.filesystem_selected(row, partition, "swap")
-            if "/" not in self.mountpoints.mapping.values():
-                self.window.next_button.set_sensitive(False)
+        partitions = [ i[0] for i in self.mountpoints.mapping.values() ]
+        if "/" not in partitions:
+            self.window.next_button.set_sensitive(False)
 
     def _read_partition_size(self, partition):
         """Return strip the partition size from the provided string.