Skip to content
Permalink
Browse files

[georef] Followup 9041950, fix didn't work for Windows

  • Loading branch information
nyalldawson committed Jun 22, 2015
1 parent c060947 commit 5f4933585bb4037935f5e45a06bd79259c8f80c3
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/plugins/georeferencer/qgsmapcoordsdialog.cpp
@@ -115,6 +115,7 @@ void QgsMapCoordsDialog::maybeSetXY( const QgsPoint & xy, Qt::MouseButton button
leYCoord->setText( qgsDoubleToString( mapCoordPoint.y() ) );
}

parentWidget()->setWindowState(( parentWidget()->parentWidget()->windowState() & ~Qt::WindowMinimized ) | Qt::WindowActive );
parentWidget()->showNormal();
parentWidget()->activateWindow();
parentWidget()->raise();
@@ -130,6 +131,9 @@ void QgsMapCoordsDialog::setToolEmitPoint( bool isEnable )
if ( isEnable )
{
assert( parentWidget()->parentWidget() != 0 );

parentWidget()->parentWidget()->setWindowState(( parentWidget()->parentWidget()->windowState() & ~Qt::WindowMinimized ) | Qt::WindowActive );
parentWidget()->parentWidget()->showNormal();
parentWidget()->parentWidget()->activateWindow();
parentWidget()->parentWidget()->raise();

0 comments on commit 5f49335

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