Removed unneeded reject() definition
This commit is contained in:
parent
094ec99829
commit
70ea6e2591
@ -41,7 +41,6 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog,
|
||||
self.tr("Boot {vm} from device").format(vm=self.vm))
|
||||
|
||||
self.buttonBox.accepted.connect(self.save_and_apply)
|
||||
self.buttonBox.rejected.connect(self.reject)
|
||||
|
||||
# populate buttons and such
|
||||
self.__init_buttons__()
|
||||
@ -52,9 +51,6 @@ class VMBootFromDeviceWindow(ui_bootfromdevice.Ui_BootDialog,
|
||||
self.qapp.setApplicationName(self.tr("Boot Qube From Device"))
|
||||
self.qapp.setWindowIcon(QtGui.QIcon.fromTheme("qubes-manager"))
|
||||
|
||||
def reject(self):
|
||||
self.done(0)
|
||||
|
||||
def save_and_apply(self):
|
||||
if self.blockDeviceRadioButton.isChecked():
|
||||
self.cdrom_location = self.blockDeviceComboBox.currentText()
|
||||
|
Loading…
Reference in New Issue
Block a user