Navigation Menu

Skip to content

Commit

Permalink
[processing] Restore window geometry for fixed table editor dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 13, 2018
1 parent 0f0a7dc commit 6b24d8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/processing/gui/FixedTableDialog.py
Expand Up @@ -28,6 +28,8 @@
import os
import warnings

from qgis.gui import QgsGui

from qgis.PyQt import uic
from qgis.PyQt.QtWidgets import QDialog, QPushButton, QAbstractItemView, QDialogButtonBox
from qgis.PyQt.QtGui import QStandardItemModel, QStandardItem
Expand All @@ -52,6 +54,8 @@ def __init__(self, param, table):

self.setupUi(self)

QgsGui.instance().enableAutoGeometryRestore(self)

self.tblView.setSelectionBehavior(QAbstractItemView.SelectRows)
self.tblView.setSelectionMode(QAbstractItemView.ExtendedSelection)

Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/gui/FixedTablePanel.py
Expand Up @@ -74,3 +74,4 @@ def showFixedTableDialog(self):
dlg.exec_()
if dlg.rettable is not None:
self.setValue(dlg.rettable)
dlg.deleteLater()

0 comments on commit 6b24d8c

Please sign in to comment.