Skip to content
Permalink
Browse files

[georef] Don't minimise georeferencer when adding points from main

window, just raise the main window instead (fix #8388)
  • Loading branch information
nyalldawson committed Jun 21, 2015
1 parent fbea593 commit 9041950fbcdb01dd667653bc5e04d9b4f144e79b
@@ -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() ) );
}
}
@@ -129,8 +129,6 @@ void QgsMapCoordsDialog::setToolEmitPoint( bool isEnable )
{
if ( isEnable )
{
parentWidget()->showMinimized();

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

0 comments on commit 9041950

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