Skip to content

Commit

Permalink
Draw/Ray form PySide6
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed Aug 16, 2024
1 parent dbefa75 commit 1beecfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions modules/pmg_qt/pymol_qt_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ def run_copy_clipboard():

if widget is None:
form._dialog.show()
return form

@PopupOnException.decorator
def _file_save(self, filter, format):
Expand Down
6 changes: 3 additions & 3 deletions modules/pymol/Qt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def setSetupUi(self, setupUi):
@self.aboutToShow.connect
def _():
self.aboutToShow.disconnect()
widget = QtWidgets.QWidget()
setupUi(widget)
self.setWidget(widget)
self._widget = QtWidgets.QWidget()
form = setupUi(self._widget)
self.setWidget(form)

return self

Expand Down

0 comments on commit 1beecfa

Please sign in to comment.