File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ def __init__(self, parent=None):
91
91
#self.widgetEditors = QWidget()
92
92
93
93
self .options = optionsDialog (self )
94
+ self .helpDlg = HelpDialog (self )
94
95
95
96
self .splitter = QSplitter (self )
96
97
self .splitter .setOrientation (Qt .Vertical )
@@ -355,9 +356,9 @@ def saveScriptFile(self):
355
356
sF .close ()
356
357
357
358
def openHelp (self ):
358
- dlg = HelpDialog ()
359
- dlg . exec_ ()
360
-
359
+ self . helpDlg . show ()
360
+ self . helpDlg . activateWindow ()
361
+
361
362
def openSettings (self ):
362
363
#options = optionsDialog()
363
364
self .options .exec_ ()
Original file line number Diff line number Diff line change 30
30
import os
31
31
32
32
class HelpDialog (QDialog , Ui_Help ):
33
- def __init__ (self , parent = None ):
33
+ def __init__ (self , parent ):
34
34
QDialog .__init__ (self , parent )
35
35
self .setupUi (self )
36
36
37
- self .setWindowModality (Qt .WindowModal )
38
37
self .setWindowTitle (QCoreApplication .translate ("PythonConsole" ,"Help Python Console" ))
39
38
self .setMaximumSize (530 , 300 )
40
39
You can’t perform that action at this time.
0 commit comments