Fixed typo in set_sensitive()

This commit is contained in:
Mark J. Fine 2022-12-22 14:25:13 -05:00
parent 3f77d35962
commit 31b4d262ed

View File

@ -312,7 +312,7 @@ class NRSC5_DUI(object):
def restart_program(self): def restart_program(self):
python = sys.executable python = sys.executable
os.execl(python, python, * sys.argv) os.execl(python, python, *sys.argv)
def confirm_dialog(self, title, message): def confirm_dialog(self, title, message):
dialog = Gtk.MessageDialog(parent=self.mainWindow, flags=0, message_type=Gtk.MessageType.WARNING, buttons=Gtk.ButtonsType.YES_NO, text=title) dialog = Gtk.MessageDialog(parent=self.mainWindow, flags=0, message_type=Gtk.MessageType.WARNING, buttons=Gtk.ButtonsType.YES_NO, text=title)
@ -678,7 +678,7 @@ class NRSC5_DUI(object):
# disable the controls # disable the controls
self.spinFreq.set_sensitive(False) self.spinFreq.set_sensitive(False)
self.cbxAspect.ser_sensitive(False) self.cbxAspect.set_sensitive(False)
self.cbxSDRRadio.set_sensitive(False) self.cbxSDRRadio.set_sensitive(False)
self.spinGain.set_sensitive(False) self.spinGain.set_sensitive(False)
self.spinPPM.set_sensitive(False) self.spinPPM.set_sensitive(False)