From d786d5426e74a1d5291f88e66abe8352e5f22ad1 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 10 Jun 2008 11:09:15 +0200 Subject: Allow slash "/" key to trigger panel quicksearch --- UMain.pas | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'UMain.pas') diff --git a/UMain.pas b/UMain.pas index 78dbcc3..2d436d0 100644 --- a/UMain.pas +++ b/UMain.pas @@ -1434,10 +1434,11 @@ begin end else if Assigned(AListView.Selected) and (AListView.ConvertToSorted(AListView.Selected.Index) = 0) then Accept := False; GDK_END: if Assigned(AListView.Selected) and (AListView.ConvertToSorted(AListView.Selected.Index) = AListView.Items.Count - 1) then Accept := False; GDK_SLASH, GDK_KP_SLASH: if Shift = [ssCtrl] then begin - if LeftPanel then PathButtonClick(LeftRootButton) - else PathButtonClick(RightRootButton); - Accept := False; - end; + if LeftPanel then PathButtonClick(LeftRootButton) + else PathButtonClick(RightRootButton); + Accept := False; + end else + if (Shift = []) then ActivateQuickFind(Sender = LeftListView); { GDK_0..GDK_9: if ConfBookmarkQuickJump and (Shift = [ssAlt]) then QuickJumpToBookmark(LeftPanel, Key - GDK_1) else begin Accept := False; -- cgit v1.2.3