Skip to content
Permalink
Browse files

Merge pull request #37512 from qgis-bot/backport-37459-to-release-3_14

[Backport release-3_14] Fix restoring dialog geometry after minimize when enableAutoGeometryRestore is used
  • Loading branch information
nyalldawson committed Jul 1, 2020
2 parents e79a859 + 2fc2673 commit be4820f0f417097007b90a0cd2058267c188e895
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/qgswidgetstatehelper_p.cpp
@@ -28,7 +28,9 @@ QgsWidgetStateHelper::QgsWidgetStateHelper( QObject *parent ) : QObject( parent

bool QgsWidgetStateHelper::eventFilter( QObject *object, QEvent *event )
{
if ( event->type() == QEvent::Close || event->type() == QEvent::Destroy )
if ( event->type() == QEvent::Close ||
event->type() == QEvent::Destroy ||
event->type() == QEvent::Hide )
{
QWidget *widget = qobject_cast<QWidget *>( object );

0 comments on commit be4820f

Please sign in to comment.
You can’t perform that action at this time.