Skip to content
Permalink
Browse files

Don't restore georeferencer window if it was maximized

  • Loading branch information
github-actions authored and nyalldawson committed Aug 1, 2020
1 parent 5277cff commit 8f750c1b96c9810f2265de2a36dee86075e6e02c
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/georeferencer/qgsmapcoordsdialog.cpp
@@ -110,7 +110,9 @@ void QgsMapCoordsDialog::maybeSetXY( const QgsPointXY &xy, Qt::MouseButton butto
leYCoord->setText( qgsDoubleToString( mapCoordPoint.y() ) );
}

parentWidget()->showNormal();
// only restore window if it was minimized
if ( parentWidget()->windowState().testFlag( Qt::WindowMinimized ) )
parentWidget()->showNormal();
parentWidget()->activateWindow();
parentWidget()->raise();

0 comments on commit 8f750c1

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