Menu

#236 Investment Transaction Enter button not enabled

0.8
closed-fixed
5
2006-03-01
2006-03-01
No

When entering a new investment transaction with inputs
in the following order, the enter button is not enabled
when it should be:

Activity -> "Reinvest Dividend"
Symbol Name -> (picked one)
Interest Category -> (picked one)
Date -> (picked one)
Shares -> 1
Total Amount -> 1

The "Price per share" field is then calculated, but the
enter button is not enabled.

Workaround: Enter a bogus "Memo" value and the enter
button is enabled. You can also delete this "Memo"
value and the enter button is still enabled.

Fix: It looks like this only happens when the last
field entered is one of the potentially calculated
fields ("Shares", "Price per share", or "Total
Amount"). I believe the following change would fix the
problem:

In kledgerviewinvestments.cpp

KLedgerViewInvestments::slotDataChanged method

move the "updateValues" call before the logic to
determine if the enter button should be enabled (i.e.
before the "bool ok = true;" line).

Discussion

  • Thomas Baumgart

    Thomas Baumgart - 2006-03-01
    • assigned_to: nobody --> ipwizard
    • status: open --> closed-fixed
     
  • Thomas Baumgart

    Thomas Baumgart - 2006-03-01

    Logged In: YES
    user_id=320825

    Great idea. This fixes the problem. Fix applied to CVS (both
    HEAD and 0.8 branch). When do you want to start work with us?

     
MongoDB Logo MongoDB