From 7e84f400f1c377aa90454028cf97b4672f325c5e Mon Sep 17 00:00:00 2001 From: Jeremy Bullock Date: Sep 13 2016 09:08:55 +0000 Subject: Fix save all issue setting wrong path on cancel save scene (#775) * Fix save all issue setting wrong path on cancel save scene close #774 --- diff --git a/toonz/sources/toonz/iocommand.cpp b/toonz/sources/toonz/iocommand.cpp index f1b35d0..00b9df1 100644 --- a/toonz/sources/toonz/iocommand.cpp +++ b/toonz/sources/toonz/iocommand.cpp @@ -1614,7 +1614,7 @@ bool IoCmd::saveAll() { TApp *app = TApp::instance(); ToonzScene *scene = app->getCurrentScene()->getScene(); - + bool untitled = scene->isUntitled(); SceneResources resources(scene, 0); resources.save(scene->getScenePath()); resources.updatePaths(); @@ -1622,7 +1622,7 @@ bool IoCmd::saveAll() { // for update title bar app->getCurrentLevel()->notifyLevelTitleChange(); app->getCurrentPalette()->notifyPaletteTitleChanged(); - + if (untitled) scene->setUntitled(); return result; }