fix save task crash (#1441)

This commit is contained in:
shun-iwasawa 2017-09-07 17:12:07 +09:00 committed by masafumi-inoue
parent 0b92f5893e
commit 0763022322

View file

@ -878,7 +878,7 @@ void BatchesController::saveas() {
}
void BatchesController::save() {
if (getListName() == "Tasks" || getListName() == "Tasks*")
if (m_filepath.isEmpty())
saveas();
else
doSave();