2
0
mirror of https://github.com/mbusb/multibootusb synced 2024-11-01 15:40:16 +00:00

re-enable GUI controls

This commit is contained in:
Alin Trăistaru 2017-05-02 21:02:50 +03:00
parent 73f3799024
commit e6f521e8fd

View File

@ -434,7 +434,6 @@ Are you SURE you want to enable it?",
QtWidgets.QMessageBox.Yes|QtWidgets.QMessageBox.No, QtWidgets.QMessageBox.No)
if reply == QtWidgets.QMessageBox.Yes:
if not os.path.exists(os.path.join(config.usb_mount, 'multibootusb', config.uninstall_distro_dir_name)):
log("Distro install directory not found. Just updating syslinux.cfg file.")
update_sys_cfg_file()
@ -442,6 +441,8 @@ Are you SURE you want to enable it?",
self.ui_enable_controls()
else:
self.progress_thread_uninstall.start()
else:
self.ui_enable_controls()
def uninstall_sys_file_update(self):
"""