Skip to content

Commit

Permalink
[georef] Don't minimise georeferencer when adding points from main
Browse files Browse the repository at this point in the history
window, just raise the main window instead (fix #8388)
  • Loading branch information
nyalldawson committed Jun 21, 2015
1 parent fbea593 commit 9041950
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/georeferencer/qgsgeoreftooladdpoint.cpp
Expand Up @@ -28,6 +28,6 @@ void QgsGeorefToolAddPoint::canvasPressEvent( QMouseEvent * e )
// Only add point on Qt:LeftButton
if ( Qt::LeftButton == e->button() )
{
emit showCoordDailog( toMapCoordinates( e->pos() ) );
emit showCoordDialog( toMapCoordinates( e->pos() ) );
}
}
2 changes: 0 additions & 2 deletions src/plugins/georeferencer/qgsmapcoordsdialog.cpp
Expand Up @@ -129,8 +129,6 @@ void QgsMapCoordsDialog::setToolEmitPoint( bool isEnable )
{
if ( isEnable )
{
parentWidget()->showMinimized();

assert( parentWidget()->parentWidget() != 0 );
parentWidget()->parentWidget()->activateWindow();
parentWidget()->parentWidget()->raise();
Expand Down

0 comments on commit 9041950

Please sign in to comment.