We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fd29b8 commit 445e52aCopy full SHA for 445e52a
1 file changed
cq_editor/main_window.py
@@ -95,7 +95,7 @@ def __init__(self, parent=None, filename=None):
95
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
96
97
self.viewer = OCCViewer(self)
98
- self.setCentralWidget(self.viewer.canvas)
+ self.setCentralWidget(self.viewer)
99
100
self.prepare_panes()
101
self.registerComponent("viewer", self.viewer)
0 commit comments