summaryrefslogtreecommitdiff
path: root/views/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'views/view.c')
-rw-r--r--views/view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/view.c b/views/view.c
index de28cfc..ad1635c 100644
--- a/views/view.c
+++ b/views/view.c
@@ -1191,6 +1191,8 @@ void cViewElement::Action(void) {
DoFlush();
if (scrolling) {
DoSleep(scrollDelay);
+ if (!Running())
+ return;
if (scrollOrientation == orHorizontal) {
ScrollHorizontal(scrollingPix, scrollDelay, scrollSpeed, scrollMode);
} else {