Skip to content

Commit 6b24d8c

Browse files
committed
[processing] Restore window geometry for fixed table editor dialog
1 parent 0f0a7dc commit 6b24d8c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

python/plugins/processing/gui/FixedTableDialog.py

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
import os
2929
import warnings
3030

31+
from qgis.gui import QgsGui
32+
3133
from qgis.PyQt import uic
3234
from qgis.PyQt.QtWidgets import QDialog, QPushButton, QAbstractItemView, QDialogButtonBox
3335
from qgis.PyQt.QtGui import QStandardItemModel, QStandardItem
@@ -52,6 +54,8 @@ def __init__(self, param, table):
5254

5355
self.setupUi(self)
5456

57+
QgsGui.instance().enableAutoGeometryRestore(self)
58+
5559
self.tblView.setSelectionBehavior(QAbstractItemView.SelectRows)
5660
self.tblView.setSelectionMode(QAbstractItemView.ExtendedSelection)
5761

python/plugins/processing/gui/FixedTablePanel.py

+1
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,4 @@ def showFixedTableDialog(self):
7474
dlg.exec_()
7575
if dlg.rettable is not None:
7676
self.setValue(dlg.rettable)
77+
dlg.deleteLater()

0 commit comments

Comments
 (0)