diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2009-03-07 18:23:31 +0100 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2009-03-07 18:23:31 +0100 |
commit | b21ede24f4a404c58d21b07570dbfe643e761187 (patch) | |
tree | 327d87a273f3caedaff37f59daafed158dbdcb34 /src/search_engine.cpp | |
parent | c5f24f402ffbe718bd8fa139b505afe4f7feae56 (diff) |
move searching to Menu class, also remember last constraint
this improvement also make that list of found items is not cleared
if one switches to another screen. it's remebered until the content
of screen changes (e.g. item is deleted from playlist)
Diffstat (limited to 'src/search_engine.cpp')
-rw-r--r-- | src/search_engine.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/search_engine.cpp b/src/search_engine.cpp index 6b054522..fc0271c7 100644 --- a/src/search_engine.cpp +++ b/src/search_engine.cpp @@ -67,7 +67,6 @@ void SearchEngine::SwitchTo() if (hasToBeResized) Resize(); - CLEAR_FIND_HISTORY; if (w->Empty()) Prepare(); myScreen = this; @@ -214,7 +213,6 @@ void SearchEngine::EnterPressed() } case 16: { - CLEAR_FIND_HISTORY; itsPattern.Clear(); w->Reset(); Prepare(); |