1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00

Fix missing recording of launch mode for core build configs.

Was causing new build configs to be created for non "run" mode
configs.

Change-Id: I6b939ac1da9fcf6678bf28b0bbad201fc723b371
This commit is contained in:
Doug Schaefer 2017-11-16 12:03:41 -05:00
parent 589faf51cc
commit 461f90901c

View file

@ -149,6 +149,7 @@ public abstract class CBuildConfiguration extends PlatformObject
Preferences settings = getSettings(); Preferences settings = getSettings();
settings.put(TOOLCHAIN_TYPE, toolChain.getTypeId()); settings.put(TOOLCHAIN_TYPE, toolChain.getTypeId());
settings.put(TOOLCHAIN_ID, toolChain.getId()); settings.put(TOOLCHAIN_ID, toolChain.getId());
settings.put(LAUNCH_MODE, launchMode);
try { try {
settings.flush(); settings.flush();
} catch (BackingStoreException e) { } catch (BackingStoreException e) {