Skip to content
Permalink
Browse files

Merge pull request #38080 from uclaros/georef-restore

Don't restore georeferencer window if it was maximized
  • Loading branch information
m-kuhn committed Aug 1, 2020
2 parents acc750c + 1ccfb71 commit 46a91533d6a17c52400bba7d1e7332fa6d2748cf
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 46a9153

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