Skip to content

Commit ab0f9a6

Browse files
committed
Hide file selector when not needed
1 parent e5ca63d commit ab0f9a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/qgsfieldsproperties.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ void QgsFieldsProperties::on_mInitCodeSourceComboBox_currentIndexChanged( int co
469469
mPythonInitCodeGroupBox->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceDialog );
470470
mInitFilePathLineEdit->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceFile );
471471
mInitFilePathLabel->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceFile );
472+
pbtnSelectInitFilePath->setVisible( codeSource == QgsEditFormConfig::PythonInitCodeSource::CodeSourceFile );
472473
}
473474

474475
void QgsFieldsProperties::attributeTypeDialog()

0 commit comments

Comments
 (0)