Skip to content
Permalink
Browse files
changes console help in window modal
  • Loading branch information
slarosa committed Nov 13, 2012
1 parent 1495f65 commit 1237546
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
@@ -355,7 +355,7 @@ def saveScriptFile(self):
sF.close()

def openHelp(self):
dlg = HelpDialog(self)
dlg = HelpDialog()
dlg.exec_()

def openSettings(self):
@@ -30,10 +30,11 @@
import os

class HelpDialog(QDialog, Ui_Help):
def __init__(self, parent):
def __init__(self, parent=None):
QDialog.__init__(self, parent)
self.setupUi(self)


self.setWindowModality(Qt.WindowModal)
self.setWindowTitle(QCoreApplication.translate("PythonConsole","Help Python Console"))
self.setMaximumSize(530, 300)

0 comments on commit 1237546

Please sign in to comment.