Skip to content

Commit

Permalink
fix gui around/in
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Mar 16, 2015
1 parent dc84c77 commit 9132a26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/quick_query_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,13 @@ def allowNominatimOrExtent(self):

if self.radioButton_extentMapCanvas.isChecked() or self.radioButton_extentLayer.isChecked():
self.lineEdit_nominatim.setDisabled(True)
self.spinBox_distance_point.setDisabled(True)
self.label_distance_point.setDisabled(True)
self.comboBox_in_around.setDisabled(True)
else:
self.lineEdit_nominatim.setDisabled(False)
self.comboBox_in_around.setDisabled(False)
self.inOrAround()

if self.radioButton_extentLayer.isChecked():
self.comboBox_extentLayer.setDisabled(False)
Expand Down

0 comments on commit 9132a26

Please sign in to comment.