Skip to content

Commit

Permalink
click on canvas deselects layer when not drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias47n9e committed Jun 26, 2015
1 parent b74bc31 commit 7c856f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions innstereo/main_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2293,6 +2293,9 @@ def mpl_canvas_clicked(self, event):
self.add_smallcircle_feature(data_treestore, alpha_deg,
gamma_deg)
self.redraw_plot()
else:
if self.draw_features == False:
selection.unselect_all()

def update_cursor_position(self, event):
"""
Expand Down

0 comments on commit 7c856f8

Please sign in to comment.