Skip to content
Permalink
Browse files

minor fix for console help dialog

  • Loading branch information
slarosa committed Nov 16, 2012
1 parent 845edd9 commit 4f9e8c289caf2226773a3a3b6beddb23bfffa11d
Showing with 5 additions and 5 deletions.
  1. +4 −3 python/console/console.py
  2. +1 −2 python/console/console_help.py
@@ -91,6 +91,7 @@ def __init__(self, parent=None):
#self.widgetEditors = QWidget()

self.options = optionsDialog(self)
self.helpDlg = HelpDialog(self)

self.splitter = QSplitter(self)
self.splitter.setOrientation(Qt.Vertical)
@@ -355,9 +356,9 @@ def saveScriptFile(self):
sF.close()

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

self.helpDlg.show()
self.helpDlg.activateWindow()
def openSettings(self):
#options = optionsDialog()
self.options.exec_()
@@ -30,11 +30,10 @@
import os

class HelpDialog(QDialog, Ui_Help):
def __init__(self, parent=None):
def __init__(self, parent):
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 4f9e8c2

Please sign in to comment.
You can’t perform that action at this time.