projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f7dd4
)
Remove an optimisation to not run the body of ContentPanel::check_selection
author
Carl Hetherington
<cth@carlh.net>
Mon, 14 Oct 2019 10:25:04 +0000
(12:25 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 14 Oct 2019 10:25:04 +0000
(12:25 +0200)
if it is called with an unchanged selection. It breaks updates
of the available tabs when a OV is added to a VF DCP.
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index f19887e59d1c9498187180840366efd75ae07774..e532e48249267a0eb3d941f2fe828f47fffb88c1 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-300,13
+300,6
@@
ContentPanel::item_selected ()
void
ContentPanel::check_selection ()
{
- if (_last_selected == selected()) {
- /* This was triggered by a re-build of the view but the selection
- did not really change.
- */
- return;
- }
-
if (_no_check_selection) {
return;
}