'quit -> "want to save?" -> yes -> cancel' should go back to working on the unsaved...
[synfig.git] / synfig-studio / trunk / src / gtkmm / toolbox.cpp
index 22ba151..6764b88 100644 (file)
@@ -131,7 +131,7 @@ save_selected_instance()
                return;
        }
 
-       if(!studio::App::get_selected_instance()->save())
+       if(studio::App::get_selected_instance()->save() == studio::Instance::STATUS_ERROR)
                App::dialog_error_blocking("Save - Error","Unable to save file");
 }