actions: fix assertion fail at double clear (#4038)

This commit is contained in:
Andrzej Rybczak
2014-08-25 05:07:34 +02:00
parent 67550d4607
commit 37ac53a27f

View File

@@ -1707,7 +1707,7 @@ void ClearMainPlaylist::run()
Statusbar::msg("Deleting items..."); Statusbar::msg("Deleting items...");
clearPlaylist(myPlaylist->main(), delete_fun, clear_fun); clearPlaylist(myPlaylist->main(), delete_fun, clear_fun);
Statusbar::msg("Items deleted"); Statusbar::msg("Items deleted");
myPlaylist->main().highlight(0); myPlaylist->main().reset();
} }
} }