[Kmymoney-devel] [Bug 240914] A stock account with stock split cannot be closed

Alvaro Soliverez asoliverez at gmail.com
Thu Jun 10 12:51:26 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=240914





--- Comment #7 from Alvaro Soliverez <asoliverez gmail com>  2010-06-10 12:51:25 ---
The only place I can find where the investment_delete action is enabled is on
slotUpdateActions()

  if (!d->m_selectedInvestment.id().isEmpty()) {
    action("investment_edit")->setEnabled(true);
  
action("investment_delete")->setEnabled(!file->isReferenced(d->m_selectedInvestment));

I'll check the test file later.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list