mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
[processing] Disable "use selected features" checkbox when loading
a non-project layer (since these layers can never have selections)
This commit is contained in:
parent
4a4b92223b
commit
512642db18
@ -195,6 +195,11 @@ void QgsProcessingMapLayerComboBox::setValue( const QVariant &value, QgsProcessi
|
||||
if ( !found )
|
||||
{
|
||||
const QString string = val.toString();
|
||||
if ( mUseSelectionCheckBox )
|
||||
{
|
||||
mUseSelectionCheckBox->setChecked( false );
|
||||
mUseSelectionCheckBox->setEnabled( false );
|
||||
}
|
||||
if ( !string.isEmpty() )
|
||||
{
|
||||
mBlockChangedSignal++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user