Fixed typo in set_sensitive()
This commit is contained in:
parent
3f77d35962
commit
31b4d262ed
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user