mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Merge pull request #38080 from uclaros/georef-restore
Don't restore georeferencer window if it was maximized
This commit is contained in:
commit
46a91533d6
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user