mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[processing] Restore window geometry for fixed table editor dialog
This commit is contained in:
parent
0f0a7dc64a
commit
6b24d8c6d7
@ -28,6 +28,8 @@ __revision__ = '$Format:%H$'
|
||||
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 @@ class FixedTableDialog(BASE, WIDGET):
|
||||
|
||||
self.setupUi(self)
|
||||
|
||||
QgsGui.instance().enableAutoGeometryRestore(self)
|
||||
|
||||
self.tblView.setSelectionBehavior(QAbstractItemView.SelectRows)
|
||||
self.tblView.setSelectionMode(QAbstractItemView.ExtendedSelection)
|
||||
|
||||
|
@ -74,3 +74,4 @@ class FixedTablePanel(BASE, WIDGET):
|
||||
dlg.exec_()
|
||||
if dlg.rettable is not None:
|
||||
self.setValue(dlg.rettable)
|
||||
dlg.deleteLater()
|
||||
|
Loading…
x
Reference in New Issue
Block a user