mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
[georef] Followup 9041950, fix didn't work for Windows
This commit is contained in:
parent
c060947552
commit
5f4933585b
@ -115,6 +115,7 @@ void QgsMapCoordsDialog::maybeSetXY( const QgsPoint & xy, Qt::MouseButton button
|
|||||||
leYCoord->setText( qgsDoubleToString( mapCoordPoint.y() ) );
|
leYCoord->setText( qgsDoubleToString( mapCoordPoint.y() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
parentWidget()->setWindowState(( parentWidget()->parentWidget()->windowState() & ~Qt::WindowMinimized ) | Qt::WindowActive );
|
||||||
parentWidget()->showNormal();
|
parentWidget()->showNormal();
|
||||||
parentWidget()->activateWindow();
|
parentWidget()->activateWindow();
|
||||||
parentWidget()->raise();
|
parentWidget()->raise();
|
||||||
@ -130,6 +131,9 @@ void QgsMapCoordsDialog::setToolEmitPoint( bool isEnable )
|
|||||||
if ( isEnable )
|
if ( isEnable )
|
||||||
{
|
{
|
||||||
assert( parentWidget()->parentWidget() != 0 );
|
assert( parentWidget()->parentWidget() != 0 );
|
||||||
|
|
||||||
|
parentWidget()->parentWidget()->setWindowState(( parentWidget()->parentWidget()->windowState() & ~Qt::WindowMinimized ) | Qt::WindowActive );
|
||||||
|
parentWidget()->parentWidget()->showNormal();
|
||||||
parentWidget()->parentWidget()->activateWindow();
|
parentWidget()->parentWidget()->activateWindow();
|
||||||
parentWidget()->parentWidget()->raise();
|
parentWidget()->parentWidget()->raise();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user