-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Before there was a CategoryButton that would insert a category in the CategoryBox, there was only the CategoryBox' AutoTextControl() that did autocomplete and informed the SplitView that the category was edited. The CategoryButton simply inserting the new category in the text control isn't enough. It has to notify the SplitView of that, so it can update a changed category in the the list of split transactions at the bottom of the window. After introducing GetMessenger() to the AutoTextControlFilter we can now send a M_SPLIT_CATEGORY_CHANGED to the CategoryBox's parent, i.e. the SplitView. * Split transactions get the category "Split transaction" by the app. Ignore those when checking against existing user-created categories. It won't be found there and would get added as new user-created category.
- Loading branch information
1 parent
897e22d
commit 43095e3
Showing
4 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters