Skip to content
Permalink
Browse files

[processing] Restore window geometry for fixed table editor dialog

  • Loading branch information
nyalldawson committed Jun 12, 2018
1 parent 0f0a7dc commit 6b24d8c6d7e4ebef709db3c88915df59b92629bf
@@ -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
@@ -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)

@@ -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.
You can’t perform that action at this time.