We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d77233 + 330aafb commit 8668f0aCopy full SHA for 8668f0a
scripts/mpdb/scriptEditor.py
@@ -640,7 +640,7 @@ def enhanceScriptEditor():
640
}
641
''')
642
cmds.scriptedPanelType( 'scriptEditorPanel', e=1, addCallback='addScriptEditorPanel2' )
643
- if cmds.window("scriptEditorPanel1Window",ex=1):
+ if cmds.workspaceControl("scriptEditorPanel1Window",q=1,ex=1):
644
# NOTE 关闭当前代码编辑器窗口
645
cmds.deleteUI("scriptEditorPanel1Window")
646
# NOTE 重新打开一个新的窗口
0 commit comments