From 0763022322d6b0be377622d60a5bc4d88d80ece4 Mon Sep 17 00:00:00 2001 From: shun-iwasawa Date: Sep 07 2017 08:12:07 +0000 Subject: fix save task crash (#1441) --- diff --git a/toonz/sources/toonz/batches.cpp b/toonz/sources/toonz/batches.cpp index 2931947..ea40804 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();