projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efd23e
)
Punt jump-to-selected to a UI idle handler.
author
Carl Hetherington
<cth@carlh.net>
Sun, 12 Aug 2018 21:59:18 +0000
(22:59 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 12 Aug 2018 21:59:18 +0000
(22:59 +0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 704f251691d62dcc0179f086fd93dd4a615e8cb1..74d0cf54546914fa3456cb2e8f319d11d86c62b8 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-277,8
+277,8
@@
ContentPanel::selection_changed ()
}
}
- if (go_to && Config::instance()->jump_to_selected
()
) {
-
_film_viewer->set_position (go_to.get().ceil(_film->video_frame_rate(
)));
+ if (go_to && Config::instance()->jump_to_selected
() && signal_manager
) {
+
signal_manager->when_idle(boost::bind(&FilmViewer::set_position, _film_viewer, go_to.get().ceil(_film->video_frame_rate()
)));
}
if (_timeline_dialog) {