projects
/
cinaest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417513a
)
Movie list window: don't clear the store when the search field is empty
author
Philipp Zabel
<philipp.zabel@gmail.com>
Tue, 10 Nov 2009 19:23:01 +0000
(20:23 +0100)
committer
Philipp Zabel
<philipp.zabel@gmail.com>
Wed, 11 Nov 2009 18:08:27 +0000
(19:08 +0100)
Start a new search with empty title filter instead.
src/movie-list-window.vala
patch
|
blob
|
history
diff --git
a/src/movie-list-window.vala
b/src/movie-list-window.vala
index
1110905
..
3a20f51
100644
(file)
--- a/
src/movie-list-window.vala
+++ b/
src/movie-list-window.vala
@@
-120,13
+120,6
@@
public class MovieListWindow : StackableWindow {
}
private void on_search_field_changed () {
- if (search_field.get_text () == "") {
- store.clear ();
- movie_list.hide ();
- no_movies.show ();
- return;
- }
-
// With every change we reset the timer to 500ms
if (source_id != 0) {
Source.remove (source_id);