Skip to content
Permalink
Browse files

Fix cannot deactivate customization widget catcher (fix #9732)

  • Loading branch information
nyalldawson committed Jun 14, 2016
1 parent 6568da6 commit e76571959431b5c9b96862578f8485dbfd203521
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgscustomization.cpp
@@ -381,10 +381,11 @@ bool QgsCustomizationDialog::switchWidget( QWidget *widget, QMouseEvent *e )
Q_UNUSED( e );
if ( !actionCatch->isChecked() )
return false;

QString path = widgetPath( widget );
QgsDebugMsg( "path = " + path );

if ( path.startsWith( "/QgsCustomizationDialogBase" ) )
if ( path.contains( "/QgsCustomizationDialogBase" ) )
{
// do not allow modification of this dialog
return false;

0 comments on commit e765719

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