Skip to content

Commit fed734d

Browse files
committed
Projects: disable ctrl key from focusing search field (to allow ctrl+home/end)
1 parent 1b37305 commit fed734d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UnityLauncherPro/MainWindow.xaml.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -945,13 +945,14 @@ private void OnWindowKeyDown(object sender, KeyEventArgs e)
945945
gridRecent.BeginEdit();
946946
}
947947
break;
948-
default: // any key
948+
default: // any key anykey
949949
// cancel if editing cell
950950
IEditableCollectionView itemsView = gridRecent.Items;
951951
if (itemsView.IsAddingNew || itemsView.IsEditingItem) return;
952952

953953
// skip these keys
954954
if (Keyboard.Modifiers == ModifierKeys.Alt) return;
955+
if (Keyboard.Modifiers == ModifierKeys.Control) return;
955956

956957
// activate searchbar if not active and we are in tab#1
957958
if (txtSearchBox.IsFocused == false)

0 commit comments

Comments
 (0)