aboutsummaryrefslogtreecommitdiff
path: root/aocharmovie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aocharmovie.cpp')
-rw-r--r--aocharmovie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aocharmovie.cpp b/aocharmovie.cpp
index ff5e64c..9f5f2d7 100644
--- a/aocharmovie.cpp
+++ b/aocharmovie.cpp
@@ -86,7 +86,7 @@ void AOCharMovie::combo_resize(int w, int h)
void AOCharMovie::frame_change(int n_frame)
{
- if (n_frame == (m_movie->frameCount() - 1))
+ if (n_frame == (m_movie->frameCount() - 1) && play_once)
{
//we need this or else the last frame wont show
delay(m_movie->nextFrameDelay());