Skip to content

Commit

Permalink
Fixes #44799 : fix RelativeStorage config save
Browse files Browse the repository at this point in the history
  • Loading branch information
troopa81 authored and nyalldawson committed Sep 17, 2021
1 parent 8811907 commit fdb176f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsexternalresourceconfigdlg.cpp
Expand Up @@ -182,7 +182,7 @@ QVariantMap QgsExternalResourceConfigDlg::config()
mStorageButtonGroup->checkedId() : QgsFileWidget::GetFile );

// Save Relative Paths option
if ( mRelativeGroupBox->isVisible() && mRelativeGroupBox->isChecked() )
if ( !mStorageType->currentIndex() && mRelativeGroupBox->isChecked() )
{
cfg.insert( QStringLiteral( "RelativeStorage" ), mRelativeButtonGroup->checkedId() );
}
Expand Down

0 comments on commit fdb176f

Please sign in to comment.