Fix permanently disabled button when stopping on next-to-last image

This commit is contained in:
George Hilliard 2018-10-26 09:23:46 -05:00
parent 8a6e0a7f19
commit cb3cc6cad1

View File

@ -249,7 +249,7 @@ void BatchQueuePanel::queueSizeChanged(int qsize, bool queueRunning, bool queueE
{
updateTab (qsize);
if (qsize == 0 || (qsize == 1 && !fdir->get_sensitive())) {
if (qsize == 0 || (qsize == 1 && queueRunning)) {
qStartStop->set_sensitive(false);
} else {
qStartStop->set_sensitive(true);