diff options
author | Doug Schaefer | 2017-11-15 18:46:00 +0000 |
---|---|---|
committer | Doug Schaefer | 2017-11-15 21:18:19 +0000 |
commit | 589faf51cc35fe4d37711d1a30e835d93cb1f558 (patch) | |
tree | 599c23c798c426786d2219aa0048a006e2c5415f /build/org.eclipse.cdt.cmake.ui/src/org/eclipse | |
parent | f2ab40d9f266494145978534715a16fdae3b18b3 (diff) | |
download | org.eclipse.cdt-589faf51cc35fe4d37711d1a30e835d93cb1f558.tar.gz org.eclipse.cdt-589faf51cc35fe4d37711d1a30e835d93cb1f558.tar.xz org.eclipse.cdt-589faf51cc35fe4d37711d1a30e835d93cb1f558.zip |
Fix up leftover toolchain provider id usage.
The CMake toolchain file editor was not recording the correct
toolchain. The same was also true for the toolchain selection in
the build settings tab.
Change-Id: I62e4c7ae0175da7c1b5ffb7f89e321a371a6e8e0
Diffstat (limited to 'build/org.eclipse.cdt.cmake.ui/src/org/eclipse')
-rw-r--r-- | build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/NewCMakeToolChainFilePage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/NewCMakeToolChainFilePage.java b/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/NewCMakeToolChainFilePage.java index 4e6f63b9cae..d4ea1718150 100644 --- a/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/NewCMakeToolChainFilePage.java +++ b/build/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/NewCMakeToolChainFilePage.java @@ -109,7 +109,7 @@ public class NewCMakeToolChainFilePage extends WizardPage { ICMakeToolChainFile file = manager.newToolChainFile(Paths.get(pathText.getText())); IToolChain tc = toolchains[tcCombo.getSelectionIndex()]; - file.setProperty(CMakeBuildConfiguration.TOOLCHAIN_TYPE, tc.getProvider().getId()); + file.setProperty(CMakeBuildConfiguration.TOOLCHAIN_TYPE, tc.getTypeId()); file.setProperty(CMakeBuildConfiguration.TOOLCHAIN_ID, tc.getId()); return file; |