projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix exception when calling resume() without first calling suspend().
[dcpomatic.git]
/
src
/
wx
/
controls.cc
diff --git
a/src/wx/controls.cc
b/src/wx/controls.cc
index 097daf9443a093fd71d966231ffad93b82aa3211..b6270f91ab424e69ac5e69f72aea2f8cde5f8e48 100644
(file)
--- a/
src/wx/controls.cc
+++ b/
src/wx/controls.cc
@@
-243,6
+243,10
@@
Controls::slider_moved (bool page)
void
Controls::slider_released ()
{
+ if (!_film) {
+ return;
+ }
+
/* Restart after a drag */
_viewer.resume();
_slider_being_moved = false;