diff options
author | Miguel Costa <miguel.costa@qt.io> | 2021-05-05 11:26:05 +0200 |
---|---|---|
committer | Miguel Costa <miguel.costa@qt.io> | 2021-05-05 12:49:30 +0000 |
commit | 490b16a6da49e8c0a9af32e93d154d2d300dfbc1 (patch) | |
tree | 46a91bfee7900c9aff0ae4e3e95081e9dc99f0ca /src | |
parent | d93afaf4f31545d8e02254834c9ab6c98161500a (diff) |
Fix issue with module selection in wizard
Fixed a problem where selecting a module with more than one QT value,
i.e. with multiple values allowed in the .pro file QT variable, would
generate an incorrect value of the "Qt Modules" project property.
Change-Id: Ifa13fcec62e64320955b7c2af2b683c7054ae456
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qtwizard/Wizards/ProjectWizard/ConfigPage.xaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtwizard/Wizards/ProjectWizard/ConfigPage.xaml.cs b/src/qtwizard/Wizards/ProjectWizard/ConfigPage.xaml.cs index a7cd1bf6..c9bf5311 100644 --- a/src/qtwizard/Wizards/ProjectWizard/ConfigPage.xaml.cs +++ b/src/qtwizard/Wizards/ProjectWizard/ConfigPage.xaml.cs @@ -88,7 +88,7 @@ namespace QtVsTools.Wizards.ProjectWizard => Modules.Values.Where((Module m) => m.IsSelected); IEnumerable<string> IWizardConfiguration.Modules - => SelectedModules.Select((Module m) => m.Id); + => SelectedModules.SelectMany((Module m) => m.Id.Split(' ')); public Config Clone() { |