summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 00e495dd..0469d6ec 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -711,6 +711,7 @@ void transfer_details::operator()(post_t& post)
case SET_PAYEE:
xact.payee = expr.calc(bound_scope).to_string();
break;
+
case SET_ACCOUNT: {
std::list<string> account_names;
temp.account->remove_post(&temp);
@@ -720,6 +721,7 @@ void transfer_details::operator()(post_t& post)
temp.account->add_post(&temp);
break;
}
+
default:
assert(false);
break;