diff --git a/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/ShortcutControl.cpp b/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/ShortcutControl.cpp index e641efe9a757..6668893752f4 100644 --- a/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/ShortcutControl.cpp +++ b/src/modules/keyboardmanager/KeyboardManagerEditorLibrary/ShortcutControl.cpp @@ -23,6 +23,7 @@ ShortcutControl::ShortcutControl(StackPanel table, StackPanel row, const int col shortcutDropDownVariableSizedWrapGrid = VariableSizedWrapGrid(); typeShortcut = Button(); shortcutControlLayout = StackPanel(); + const bool isHybridControl = colIndex == 1; // TODO: Check if there is a VariableSizedWrapGrid equivalent. @@ -93,6 +94,9 @@ void ShortcutControl::AddNewShortcutControlRow(StackPanel& parent, std::vector> newrow; StackPanel row = StackPanel(); + + row.Name(L"row"); + parent.Children().Append(row); newrow.emplace_back(std::make_unique(parent, row, 0, targetAppTextBox)); newrow.emplace_back(std::make_unique(parent, row, 1, targetAppTextBox)); @@ -187,12 +191,11 @@ void ShortcutControl::AddNewShortcutControlRow(StackPanel& parent, std::vectortypeShortcut.as