mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix cannot deactivate customization widget catcher (fix #9732)
This commit is contained in:
parent
6568da6ce0
commit
e765719594
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user