Index: src/app/qgsattributedialog.cpp =================================================================== --- src/app/qgsattributedialog.cpp (revision 6959) +++ src/app/qgsattributedialog.cpp (working copy) @@ -62,7 +62,7 @@ QgsAttributeDialog::~QgsAttributeDialog() { - savePositionAndColumnWidth(); + } QString QgsAttributeDialog::value(int row) @@ -106,6 +106,18 @@ } +void QgsAttributeDialog::resizeEvent(QResizeEvent *event) + { + savePositionAndColumnWidth(); + QWidget::resizeEvent(event); + } + +void QgsAttributeDialog::moveEvent(QMoveEvent *event) + { + savePositionAndColumnWidth(); + QWidget::moveEvent(event); + } + void QgsAttributeDialog::restorePositionAndColumnWidth() { QSettings settings; Index: src/app/qgsattributedialog.h =================================================================== --- src/app/qgsattributedialog.h (revision 6959) +++ src/app/qgsattributedialog.h (working copy) @@ -56,6 +56,10 @@ void restorePositionAndColumnWidth(); + void resizeEvent(QResizeEvent *event); + + void moveEvent(QMoveEvent *event); + public slots: //! Slot to be called when an attribute value is edited in the table. void setAttributeValueChanged(int row, int column);