Skip to content
Permalink
Browse files

Revert 9041950 and 5f49335. Neither fixed worked for Windows.

Will revisit for 2.12.
  • Loading branch information
nyalldawson committed Jun 24, 2015
1 parent 16cab9f commit d4badf8bfa6dc5d995031e3cafe6fafe98423f28
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/plugins/georeferencer/qgsmapcoordsdialog.cpp
@@ -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();
@@ -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();

0 comments on commit d4badf8

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