From: <vo...@us...> - 2012-06-15 11:37:55
|
Revision: 2604 http://moneymanagerex.svn.sourceforge.net/moneymanagerex/?rev=2604&view=rev Author: vomikan Date: 2012-06-15 11:37:48 +0000 (Fri, 15 Jun 2012) Log Message: ----------- fix Modified Paths: -------------- trunk/mmex/src/transactionfilterdialog.cpp Modified: trunk/mmex/src/transactionfilterdialog.cpp =================================================================== --- trunk/mmex/src/transactionfilterdialog.cpp 2012-06-15 11:34:49 UTC (rev 2603) +++ trunk/mmex/src/transactionfilterdialog.cpp 2012-06-15 11:37:48 UTC (rev 2604) @@ -452,7 +452,7 @@ bool TransFilterDialog::searchResult( wxCheckBox* chkBox, wxTextCtrl* txtCtrl, wxString sourceStr) { - if (!chkBox->GetValue()) return false; + if (!chkBox->GetValue()) return true; else if (sourceStr.IsEmpty() && txtCtrl->GetValue().IsEmpty()) return true; else if (txtCtrl->GetValue().IsEmpty()) return false; else if (sourceStr.Trim().Lower().Find(txtCtrl->GetValue().Trim().Lower()) != wxNOT_FOUND) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |