diff options
| author | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-06-10 11:09:15 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@tbzatek.englab.brq.redhat.com> | 2008-06-10 11:09:15 +0200 |
| commit | d786d5426e74a1d5291f88e66abe8352e5f22ad1 (patch) | |
| tree | 5876e084b9421e33997e6d0d214ba31de9cd1479 /UMain.pas | |
| parent | 960220f9178ed521343d2d8afc4008198c29495a (diff) | |
| download | tuxcmd-d786d5426e74a1d5291f88e66abe8352e5f22ad1.tar.xz | |
Allow slash "/" key to trigger panel quicksearch
Diffstat (limited to 'UMain.pas')
| -rw-r--r-- | UMain.pas | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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; |
