Skip to content
Permalink
Browse files

Fix cannot deactivate customization widget catcher (fix #9732)

(cherry-picked from e765719)
  • Loading branch information
nyalldawson committed Jul 1, 2016
1 parent dc961d5 commit 563c470325b02148dcf2bd5e0e08deb65287d419
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgscustomization.cpp
@@ -388,10 +388,11 @@ bool QgsCustomizationDialog::switchWidget( QWidget *widget, QMouseEvent *e )
QgsDebugMsg( "Entered" );
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 563c470

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