projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d08c7b
)
swaroop: fix load of more than one playlist.
v2.13.79
author
Carl Hetherington
<cth@carlh.net>
Fri, 30 Nov 2018 01:29:09 +0000
(
01:29
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 30 Nov 2018 01:29:09 +0000
(
01:29
+0000)
src/wx/swaroop_controls.cc
patch
|
blob
|
history
diff --git
a/src/wx/swaroop_controls.cc
b/src/wx/swaroop_controls.cc
index dc65f1b85f7635f14672106d94ec70cce87ccd11..73b24a02d769e9aa0c67c12c70e5bd896ba4be3b 100644
(file)
--- a/
src/wx/swaroop_controls.cc
+++ b/
src/wx/swaroop_controls.cc
@@
-202,9
+202,10
@@
SwaroopControls::update_playlist_directory ()
void
SwaroopControls::spl_selection_changed ()
{
+ _current_spl_view->DeleteAllItems ();
+
long int selected = _spl_view->GetNextItem (-1, wxLIST_NEXT_ALL, wxLIST_STATE_SELECTED);
if (selected == -1) {
- _current_spl_view->DeleteAllItems ();
return;
}