Add operation control on SearchPanel

This commit is contained in:
2010-07-16 19:28:36 +02:00
parent d9359b2f98
commit de0e7fa1d9
4 changed files with 134 additions and 2 deletions

View File

@@ -195,7 +195,10 @@ void wxUI::ShowPanel(wxPanel* panel)
_accountPanel = new AccountPanel(_kiss, this);
if (year != -1)
_accountPanel->ShowMonth(month, year);
{
_kiss->LoadYear(year, true);
_accountPanel->ShowMonth(month, year);
}
_preferencesPanel = new PreferencesPanel(_kiss, this);
_searchPanel = new SearchPanel(_kiss, this);