Skip to content

Commit

Permalink
Revert 9041950 and 5f49335. Neither fixed worked for Windows.
Browse files Browse the repository at this point in the history
Will revisit for 2.12.
  • Loading branch information
nyalldawson committed Jun 24, 2015
1 parent 16cab9f commit d4badf8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/plugins/georeferencer/qgsmapcoordsdialog.cpp
Expand Up @@ -115,7 +115,6 @@ 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();
Expand All @@ -130,10 +129,9 @@ void QgsMapCoordsDialog::setToolEmitPoint( bool isEnable )
{
if ( isEnable )
{
assert( parentWidget()->parentWidget() != 0 );
parentWidget()->showMinimized();

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

Expand Down

0 comments on commit d4badf8

Please sign in to comment.