mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
changes console help in window modal
This commit is contained in:
parent
1495f659c7
commit
12375462de
@ -355,7 +355,7 @@ class PythonConsoleWidget(QWidget):
|
||||
sF.close()
|
||||
|
||||
def openHelp(self):
|
||||
dlg = HelpDialog(self)
|
||||
dlg = HelpDialog()
|
||||
dlg.exec_()
|
||||
|
||||
def openSettings(self):
|
||||
|
@ -30,10 +30,11 @@ from qgis.core import QgsApplication
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user