Skip to content
Permalink
Browse files

Merge pull request #330 from slarosa/master

minor fix for python console
  • Loading branch information
brushtyler committed Nov 16, 2012
2 parents 845edd9 + 01775ce commit 2ddc7534f6d6079d06764bd1250d93c04c7693df
Binary file not shown.
@@ -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 2ddc753

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