From 0763022322d6b0be377622d60a5bc4d88d80ece4 Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Thu, 7 Sep 2017 17:12:07 +0900 Subject: [PATCH] fix save task crash (#1441) --- toonz/sources/toonz/batches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toonz/sources/toonz/batches.cpp b/toonz/sources/toonz/batches.cpp index 2931947a..ea408040 100644 --- a/toonz/sources/toonz/batches.cpp +++ b/toonz/sources/toonz/batches.cpp @@ -878,7 +878,7 @@ void BatchesController::saveas() { } void BatchesController::save() { - if (getListName() == "Tasks" || getListName() == "Tasks*") + if (m_filepath.isEmpty()) saveas(); else doSave();