Skip to content
Permalink
Browse files

changes console help in window modal

  • Loading branch information
slarosa committed Nov 13, 2012
1 parent 1495f65 commit 12375462de33c4b56baa7f5d9eb77efc5a7c37e5
Showing with 4 additions and 3 deletions.
  1. +1 −1 python/console/console.py
  2. +3 −2 python/console/console_help.py
@@ -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.
You can’t perform that action at this time.