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

Enable GUI Controls when selected no to options.

This commit is contained in:
mbusb 2017-04-26 19:31:37 +05:30
parent 1e384a27a2
commit 764b8dccc3

View File

@ -534,6 +534,8 @@ Are you SURE you want to enable it?",
self.ui.slider_persistence.setEnabled(False) self.ui.slider_persistence.setEnabled(False)
config.process_exist = True config.process_exist = True
self.progress_thread_install.start() self.progress_thread_install.start()
elif reply == QtWidgets.QMessageBox.No:
self.ui_enable_controls()
else: else:
QtWidgets.QMessageBox.information(self, 'Already exists...', QtWidgets.QMessageBox.information(self, 'Already exists...',
@ -629,6 +631,8 @@ Are you SURE you want to enable it?",
self.dd_start() self.dd_start()
config.process_exist = True config.process_exist = True
self.progress_thread_dd.start() self.progress_thread_dd.start()
elif reply == QtWidgets.QMessageBox.No:
self.ui_enable_controls()
def on_close_Click(self): def on_close_Click(self):
""" """