Skip to content

Commit

Permalink
Resizing Analysis Window Causes Crash #535
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMWhitehead committed Jan 7, 2025
1 parent 704f2a5 commit eda59bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/view/frm_dockwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,11 +818,12 @@ def open_analysis(self, analysis: Analysis):

if self.analysis_doc_widget is None:
self.analysis_doc_widget = FrmAnalysisDocWidget(self)
self.analysis_doc_widget.configure_analysis(self.project, analysis, None)
self.iface.addDockWidget(QtCore.Qt.RightDockWidgetArea, self.analysis_doc_widget)
self.analysis_doc_widget.visibilityChanged.connect(self.destroy_analysis_doc_widget)

self.analysis_doc_widget.configure_analysis(self.project, analysis, None)
self.analysis_doc_widget.show()
else:
self.analysis_doc_widget.configure_analysis(self.project, analysis, None)
self.analysis_doc_widget.show()

def open_analysis_summary(self):

Expand Down

0 comments on commit eda59bc

Please sign in to comment.