Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hide file selector when not needed
  • Loading branch information
elpaso committed Dec 5, 2015
1 parent e5ca63d commit ab0f9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsfieldsproperties.cpp
Expand Up @@ -469,6 +469,7 @@ void QgsFieldsProperties::on_mInitCodeSourceComboBox_currentIndexChanged( int co
mPythonInitCodeGroupBox->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceDialog );
mInitFilePathLineEdit->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceFile );
mInitFilePathLabel->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceFile );
pbtnSelectInitFilePath->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceFile );
}

void QgsFieldsProperties::attributeTypeDialog()
Expand Down

0 comments on commit ab0f9a6

Please sign in to comment.