From: <ste...@us...> - 2011-12-19 03:13:53
|
Revision: 1569 http://moneymanagerex.svn.sourceforge.net/moneymanagerex/?rev=1569&view=rev Author: stef145g Date: 2011-12-19 03:13:47 +0000 (Mon, 19 Dec 2011) Log Message: ----------- Bug fix: Prevent crash when moving the last transaction from a filtered screen. Modified Paths: -------------- trunk/mmex/src/mmcheckingpanel.cpp Modified: trunk/mmex/src/mmcheckingpanel.cpp =================================================================== --- trunk/mmex/src/mmcheckingpanel.cpp 2011-12-19 02:35:34 UTC (rev 1568) +++ trunk/mmex/src/mmcheckingpanel.cpp 2011-12-19 03:13:47 UTC (rev 1569) @@ -2070,6 +2070,7 @@ m_cp->m_inidb, this); if ( dlg.ShowModal() == wxID_OK ) { + m_selectedIndex --; refreshVisualList(); } } @@ -2084,8 +2085,8 @@ pTransaction->accountID_ = toAccountID; m_cp->m_core->bTransactionList_.updateTransaction(pTransaction); + m_selectedIndex --; refreshVisualList(); - } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |