Skip to content

Commit

Permalink
Fix issue #71 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencalje authored Mar 13, 2024
1 parent ca7cc8c commit 409589d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imodqgis/cross_section/cross_section_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,9 @@ def set_variable_layernumbers(self):
if layers == NO_LAYERS:
self.as_line_checkbox.setChecked(True)
self.as_line_checkbox.setEnabled(False)
else:
self.as_line_checkbox.setChecked(False)
self.as_line_checkbox.setEnabled(True)

def on_geometries_changed(self):
self.iface.mapCanvas().scene().removeItem(self.rubber_band)
Expand Down

0 comments on commit 409589d

Please sign in to comment.