Skip to content

Commit

Permalink
Merge pull request #2824 from SasView/2818-draw-throws-gsc
Browse files Browse the repository at this point in the history
Don't initialize the base class twice
  • Loading branch information
butlerpd authored Mar 22, 2024
2 parents 48aa69e + 4eda73b commit a458633
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sas/qtgui/Calculators/GenericScatteringCalculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,5 @@ def closeEvent(self, event):
class Plotter3D(QtWidgets.QDialog, Plotter3DWidget):
def __init__(self, parent=None, graph_title=''):
self.graph_title = graph_title
QtWidgets.QDialog.__init__(self)
Plotter3DWidget.__init__(self, manager=parent)
self.setWindowTitle(self.graph_title)

0 comments on commit a458633

Please # to comment.