We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 213893e commit 01c87ceCopy full SHA for 01c87ce
1 file changed
ground/gcs/src/plugins/pfdqml/pfdqmlcontext.cpp
@@ -328,12 +328,12 @@ void PfdQmlContext::loadConfiguration(PfdQmlGadgetConfiguration *config)
328
329
void PfdQmlContext::saveState(QSettings &settings) const
330
{
331
- settings.setValue("modelFile", modelFile());
+ settings.setValue("modelFile", Utils::RemoveDataPath(modelFile()));
332
}
333
334
void PfdQmlContext::restoreState(QSettings &settings)
335
336
- QString file = settings.value("modelFile").toString();
+ QString file = Utils::InsertDataPath(settings.value("modelFile").toString());
337
338
if (!file.isEmpty()) {
339
setModelFile(file);
0 commit comments