Commit 79660bfd authored by Theophile Terraz's avatar Theophile Terraz
Browse files

debug

No related merge requests found
Pipeline #57278 passed with stages
in 7 minutes and 7 seconds
Showing with 5 additions and 1 deletion
+5 -1
......@@ -439,7 +439,7 @@ class CustomPlot(PamhyrPlot):
@timer
def update(self):
#if not self._init:
if not self._init:
self.draw()
return
......
......@@ -538,6 +538,9 @@ class ResultsWindow(PamhyrWindow):
)
plot.draw()
# Add plot to additional plot
self._additional_plot[name] = plot
grid.addWidget(toolbar, 0, 0)
grid.addWidget(canvas, 1, 0)
widget.setLayout(grid)
......@@ -669,4 +672,5 @@ class ResultsWindow(PamhyrWindow):
def delete_tab(self, index):
tab_widget = self.find(QTabWidget, f"tabWidget")
self._additional_plot.pop(tab_widget.tabText(index))
tab_widget.removeTab(index)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment