Skip to content

Commit

Permalink
Merge pull request #38080 from uclaros/georef-restore
Browse files Browse the repository at this point in the history
Don't restore georeferencer window if it was maximized
  • Loading branch information
m-kuhn committed Aug 1, 2020
2 parents acc750c + 1ccfb71 commit 46a9153
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/georeferencer/qgsmapcoordsdialog.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit 46a9153

Please sign in to comment.