Skip to content

Commit

Permalink
fix double click opening layer properties dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias47n9e committed May 1, 2015
1 parent 9176138 commit 0446a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion innstereo/main_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def layer_row_activated(self, treeview, path, column):
"""
layer_obj = self.layer_store[path][3]
if layer_obj is not None:
layer_prop = LayerProperties(layer_obj, self.redraw_plot)
layer_prop = LayerProperties(layer_obj, self.redraw_plot, self.main_window)
layer_prop.run()

def on_toolbutton_layer_properties_clicked(self, toolbutton):
Expand Down

0 comments on commit 0446a02

Please sign in to comment.