Skip to content

Commit

Permalink
Minor fix for updating station criteria when event selection changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-iris committed Oct 6, 2017
1 parent cdaf57e commit 7d7b2a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyweed/gui/StationOptionsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7d7b2a0

Please sign in to comment.