mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +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
|
//now load PathEntry Variables from preferences
|
||||||
loadPathEntryVariables(macros);
|
loadPathEntryVariables(macros);
|
||||||
|
|
||||||
|
if(macros.isDirty()){
|
||||||
|
try {
|
||||||
|
storeWorkspaceMacros(macros, true);
|
||||||
|
} catch (CoreException e) {
|
||||||
|
CCorePlugin.log(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
return macros;
|
return macros;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue