Skip to content

Commit

Permalink
Remove 'Split' category shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
dospuntos committed Jul 11, 2024
1 parent ba62ef0 commit 92be913
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/CheckView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,17 +341,6 @@ CheckView::DoNextField(void)
if (fAmount->Validate(false))
fCategory->MakeFocus(true);
} else if (fCategory->ChildAt(0)->IsFocus()) {
// TODO: don't force entering a transaction when going to the
// split window via key editing
if (strcmp(fCategory->Text(),
B_TRANSLATE_ALL("Split", "CommonTerms",
"The noun 'split', as in 'a split-category'"))
== 0) {
Window()->PostMessage(M_ENTER_TRANSACTION, this);
Window()->PostMessage(M_EDIT_TRANSACTION);
return;
}

fMemo->MakeFocus(true);
} else if (fMemo->ChildAt(0)->IsFocus()) {
fEnter->MakeFocus(true);
Expand Down

0 comments on commit 92be913

Please sign in to comment.