kopia lustrzana https://github.com/ctjacobs/pyqso
Use has_option here.
rodzic
2524cd5d94
commit
79d3451d56
|
@ -436,7 +436,7 @@ class RecordDialog(Gtk.Dialog):
|
|||
|
||||
# Do we want PyQSO to autocomplete the Band field based on the Frequency field?
|
||||
(section, option) = ("records", "autocomplete_band")
|
||||
if(have_config and config.get(section, option)):
|
||||
if(have_config and config.has_option(section, option)):
|
||||
autocomplete_band = (config.get(section, option) == "True")
|
||||
if(autocomplete_band):
|
||||
self.sources["FREQ"].connect("changed", self._autocomplete_band)
|
||||
|
|
Ładowanie…
Reference in New Issue