mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Merge pull request #458 from 3nids/respectUIimmutableoption
respect the disabled option defined in the UI file
This commit is contained in:
commit
37ee4d8bda
@ -532,7 +532,8 @@ QWidget *QgsAttributeEditor::createAttributeEditor( QWidget *parent, QWidget *ed
|
||||
|
||||
if ( myWidget )
|
||||
{
|
||||
myWidget->setDisabled( editType == QgsVectorLayer::Immutable );
|
||||
if (editType == QgsVectorLayer::Immutable)
|
||||
myWidget->setDisabled( true );
|
||||
|
||||
QgsStringRelay* relay = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user