forked from qt-creator/qt-creator
CompilerExplorer: Add wizard template
Also include "src/plugins/**/wizard.json" into .gitignore. Change-Id: Ib0576df15af4c112a4a27101d337522db6c19f25 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -136,6 +136,8 @@ Core::IDocument::OpenResult JsonSettingsDocument::open(QString *errorString,
|
||||
return OpenResult::ReadError;
|
||||
}
|
||||
|
||||
setFilePath(filePath);
|
||||
|
||||
m_ceSettings.fromMap(*result);
|
||||
emit settingsChanged();
|
||||
return OpenResult::Success;
|
||||
@@ -171,6 +173,7 @@ bool JsonSettingsDocument::saveImpl(QString *errorString, const FilePath &newFil
|
||||
return false;
|
||||
}
|
||||
|
||||
emit changed();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user