projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a71f7f
)
Fix exception when calling resume() without first calling suspend().
author
Carl Hetherington
<cth@carlh.net>
Wed, 14 Feb 2024 21:42:35 +0000
(22:42 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 14 Feb 2024 21:42:35 +0000
(22:42 +0100)
src/wx/controls.cc
patch
|
blob
|
history
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;