Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienPeillet authored and nyalldawson committed Sep 24, 2021
1 parent 968964a commit f75abec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgscustomization.cpp
Expand Up @@ -882,6 +882,7 @@ void QgsCustomization::updateMainWindow( QMenu *toolBarMenu, QMenu *panelMenu )
{
mw->removeDockWidget( dw );
dw->setParent( NULL );
// remove also from menu, because dock removed here, switched on later from menu don't work correctly
panelMenu->removeAction( dw->toggleViewAction() );
}
}
Expand Down

0 comments on commit f75abec

Please sign in to comment.