Skip to content
Snippets Groups Projects
Commit ce092ad6 authored by Emmanuel Lepage Vallée's avatar Emmanuel Lepage Vallée Committed by Stepan Salenikovich
Browse files

accountmodel: Prevent invalid state


A missing `break`.

Change-Id: I194ea1446627f2bc862f0309f83076abdde34aff
Reviewed-by: default avatarNicolas Jäger <nicolas.jager@savoirfairelinux.com>
parent 200acb76
Branches
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment