Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow attribute table windows to be closed
Followup 761151e
  • Loading branch information
nyalldawson committed May 15, 2023
1 parent df20650 commit 3d8baf6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/qgsdockablewidgethelper.cpp
Expand Up @@ -281,7 +281,10 @@ void QgsDockableWidgetHelper::toggleDockMode( bool docked )
// going from dock -> window
// note -- we explicitly DO NOT set the parent for the dialog, as we want these treated as
// proper top level windows and have their own taskbar entries. See https://github.com/qgis/QGIS/issues/49286
mDialog = new QgsNonRejectableDialog( nullptr, Qt::Window );
if ( mUsePersistentWidget )
mDialog = new QgsNonRejectableDialog( nullptr, Qt::Window );
else
mDialog = new QDialog( nullptr, Qt::Window );
mDialog->setStyleSheet( sAppStylesheetFunction() );

mDialog->setWindowTitle( mWindowTitle );
Expand Down

0 comments on commit 3d8baf6

Please sign in to comment.