summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2014-08-25 05:07:34 +0200
committerAndrzej Rybczak <electricityispower@gmail.com>2014-08-25 05:07:34 +0200
commit37ac53a27f2cd46b5076d5e1e5ed68c1d59acc7c (patch)
tree677e9898e185af64dcc315928b8a95192c0b967c /src
parent67550d4607634f933915d7d8fd523ad92dbd4af5 (diff)
actions: fix assertion fail at double clear (#4038)
Diffstat (limited to 'src')
-rw-r--r--src/actions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.cpp b/src/actions.cpp
index e8624e99..3601ddac 100644
--- a/src/actions.cpp
+++ b/src/actions.cpp
@@ -1707,7 +1707,7 @@ void ClearMainPlaylist::run()
Statusbar::msg("Deleting items...");
clearPlaylist(myPlaylist->main(), delete_fun, clear_fun);
Statusbar::msg("Items deleted");
- myPlaylist->main().highlight(0);
+ myPlaylist->main().reset();
}
}