Unverified Commit 330f4913 authored by CharlieFenton's avatar CharlieFenton Committed by GitHub

Merge pull request #2741 from BOINC/dpa_slideshow

Manager: simple view: cycle slideshow even if task not running
parents 4a433336 8d785858
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
// Copyright (C) 2018 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
......@@ -319,14 +319,11 @@ numSlides = 0;
Enable( false );
#endif // HIDEDEFAULTSLIDE
// TODO: Should we allow slide show to advance if task is not running?
int newSlide = selData->lastSlideShown;
if (selData->dotColor == runningIcon) { // Advance only if running
if (changeSlide) {
if (++newSlide >= numSlides) {
newSlide = 0;
}
if (changeSlide) {
if (++newSlide >= numSlides) {
newSlide = 0;
}
}
if (newSlide < 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment