Skip to content

Commit

Permalink
COMMIT fixes immediate update in side/linear view (#2553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Preetam-Das26 authored Oct 5, 2024
1 parent eee46f1 commit 342d317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mslib/msui/linearview.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ def openTool(self, index, parent=None, config_settings=None):
view="Linear View", config_settings=config_settings)
widget.treewidget_item_selected.connect(
lambda url, layer, style, level: self.tree_item_select(url, layer, style, level))
widget.update_op_flight_treewidget.connect(
lambda opfl, flight: parent.update_treewidget_op_fl(opfl, flight))
else:
raise IndexError("invalid control index")
# Create the actual dock widget containing <widget>.
Expand Down
2 changes: 2 additions & 0 deletions mslib/msui/sideview.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ def openTool(self, index, parent=None, config_settings=None):
view="Side View", config_settings=config_settings)
widget.treewidget_item_selected.connect(
lambda url, layer, style, level: self.tree_item_select(url, layer, style, level))
widget.update_op_flight_treewidget.connect(
lambda opfl, flight: parent.update_treewidget_op_fl(opfl, flight))
else:
raise IndexError("invalid control index")
# Create the actual dock widget containing <widget>.
Expand Down

0 comments on commit 342d317

Please sign in to comment.