Rodrigo Bistolfi  committed 982f360

GTK: Fix next button disabled at mp selection

  • Participants
  • Parent commits 8006f6e
  • Branches master

Comments (0)

Files changed (1)

File vinstall/ui/

             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.