Skip to content
Permalink
Browse files

Don't restore georeferencer window if it was maximized

  • Loading branch information
uclaros committed Aug 1, 2020
1 parent 15a4c39 commit 1ccfb71b1c18bbafc511e1876209d7bc3367cf4f
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 1ccfb71

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