Skip to content

Commit

Permalink
enhance: sideview and linearview plot to display operation name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMightyRaider committed Dec 22, 2024
1 parent ca9db4a commit eb817d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mslib/msui/linearview.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def __init__(self, parent=None, mainwindow=None, model=None, _id=None, config_se

self.setupUi(self)
self.setWindowIcon(QtGui.QIcon(icons('64x64')))
self.mpl.canvas.plotter.fig.suptitle(f"{model.name}")

# Dock windows [WMS]:
self.cbTools.clear()
Expand Down
1 change: 1 addition & 0 deletions mslib/msui/sideview.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def __init__(self, parent=None, mainwindow=None, model=None, _id=None, config_se
super().__init__(parent, model, _id)
self.tutorial_mode = tutorial_mode
self.setupUi(self)
self.mpl.canvas.plotter.fig.suptitle(f"{model.name}")
self.setWindowIcon(QtGui.QIcon(icons('64x64')))
self.settings_tag = "sideview"
# Dock windows [WMS]:
Expand Down

0 comments on commit eb817d3

Please sign in to comment.