diff --git a/pyweed/gui/StationOptionsWidget.py b/pyweed/gui/StationOptionsWidget.py index 81274bf..ba83d93 100644 --- a/pyweed/gui/StationOptionsWidget.py +++ b/pyweed/gui/StationOptionsWidget.py @@ -82,7 +82,8 @@ def onEventSelectionChanged(self): change event. """ key = '_locationDistanceFromEvents' - LOGGER.debug("StationOptionsWidget.onEventSelectionChanged: %s", self.getInputValue(key)) - if self.getInputValue(key): + inputValue = self.getInputValue(key) + LOGGER.debug("StationOptionsWidget.onEventSelectionChanged: %s", inputValue) + if inputValue and strtobool(inputValue): self.changed.emit(key) self.changedCoords.emit(key)