diff --git a/src/accountmodel.cpp b/src/accountmodel.cpp index 604a5aaaa4e7df1860d5928ae1427f9c585d6859..cdb1220055f134731101498aaf753b087dd61566 100644 --- a/src/accountmodel.cpp +++ b/src/accountmodel.cpp @@ -686,6 +686,7 @@ void AccountModel::cancel() { switch(a->editState()) { case Account::EditState::NEW : remove(a); + break; case Account::EditState::MODIFIED_INCOMPLETE: case Account::EditState::MODIFIED_COMPLETE : a << Account::EditAction::CANCEL;