Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't hide the main window
  • Loading branch information
uclaros authored and nyalldawson committed Sep 25, 2022
1 parent 37437b0 commit 3d05ad3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gui/qgsextentgroupbox.cpp
Expand Up @@ -31,7 +31,11 @@ QgsExtentGroupBox::QgsExtentGroupBox( QWidget *parent )

connect( mWidget, &QgsExtentWidget::toggleDialogVisibility, this, [ = ]( bool visible )
{
window()->setVisible( visible );
QWidget *w = window();
// Don't hide the main window or we'll get locked outside!
if ( w->objectName() == QLatin1String( "QgisApp" ) )
return;
w->setVisible( visible );
} );
}

Expand Down

0 comments on commit 3d05ad3

Please sign in to comment.