Fix several bugs in StatsPanel :
Bad selection of year with multiple years
Bad year range check
Unordered accounts (makes account selection points to bad indexes on account graph)
This commit is contained in:
@@ -51,14 +51,19 @@ public:
|
||||
wxString GetCategoryName(wxString& catId);
|
||||
wxString GetCategoryId(wxString& catName);
|
||||
const wxFont GetCategoryFont(wxString& catId);
|
||||
|
||||
Account GetAccount(const wxString& accountId);
|
||||
wxString GetAccountName(const wxString& accountId);
|
||||
wxString GetAccountId(wxString& accountName);
|
||||
|
||||
int GetCategoriesNumber();
|
||||
int GetAccountsNumber();
|
||||
int GetOperationsNumber(int month, int year);
|
||||
|
||||
wxLanguage GetLanguage();
|
||||
|
||||
void LinkOrUnlinkOperation(Operation& op);
|
||||
|
||||
void Group(const Operation& op);
|
||||
bool Group(std::vector<Operation>* ops, const Operation& op);
|
||||
void UnGroup(const Operation& op);
|
||||
|
||||
Reference in New Issue
Block a user