Skip to content

Commit 570b741

Browse files
Fix: Prevent search bar from capturing Revit keyboard shortcut characters
Changed the initial focused element of FrmAddInManager from the search TextBox (tbxSearch) to the TabControl. This prevents the second character of a two-letter Revit keyboard shortcut (like 'AA') from being entered into the search field when the window opens. Fixes #76 Co-authored-by: chuongmep <31106432+chuongmep@users.noreply.github.com>
1 parent abc7dd3 commit 570b741

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AddInManager/View/FrmAddInManager.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
d:DesignHeight="600"
1818
d:DesignWidth="400"
1919
Closed="OnCloseApp"
20-
FocusManager.FocusedElement="{Binding ElementName=tbxSearch}"
20+
FocusManager.FocusedElement="{Binding ElementName=TabControl}"
2121
Icon="../Resources/dev.ico"
2222
Left="{model:SettingBinding AppLeft}"
2323
PreviewKeyDown="CloseFormEvent"

0 commit comments

Comments
 (0)