mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +02:00
Workspace variable serialization in case they are modified withPath Entry Variable info on load
This commit is contained in:
parent
258757431c
commit
1d087b260f
1 changed files with 7 additions and 0 deletions
|
@ -486,6 +486,13 @@ public class UserDefinedVariableSupplier extends CoreMacroSupplierBase {
|
|||
//now load PathEntry Variables from preferences
|
||||
loadPathEntryVariables(macros);
|
||||
|
||||
if(macros.isDirty()){
|
||||
try {
|
||||
storeWorkspaceMacros(macros, true);
|
||||
} catch (CoreException e) {
|
||||
CCorePlugin.log(e);
|
||||
}
|
||||
}
|
||||
return macros;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue