> On May 14, 2011, 4:59 a.m., Thomas Baumgart wrote: > > /trunk/extragear/office/kmymoney/kmymoney/dialogs/transactioneditor.cpp, > > line 642 > > <http://svn.reviewboard.kde.org/r/6674/diff/1/?file=46149#file46149line642> > > > > You need to use the securities trading currency here. So the code might > > look like > > > > MyMoneySecurity sec = file->security(account.security); > > > > and the price would use security.tradingCurrency() instead of the > > baseCurrency. > > Thomas Baumgart wrote: > Corr: It would use 'sec.tradingCurrency()'. Just to avoid confusing you.
OT: Hm, in the future I should not do reviews before the second cup of coffee in the morning. Of course it should have been MyMoneySecurity sec = file->security(account.currencyId()); - Thomas ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://svn.reviewboard.kde.org/r/6674/#review10107 ----------------------------------------------------------- On May 13, 2011, 4:06 p.m., Allan Anderson wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://svn.reviewboard.kde.org/r/6674/ > ----------------------------------------------------------- > > (Updated May 13, 2011, 4:06 p.m.) > > > Review request for kmymoney. > > > Summary > ------- > > At the moment pricing information is retained only from imported transactions. > > This fix is to retain prices entered in manually added or edited transactions. > > > This addresses bugs 233236 and Bug. > https://bugs.kde.org/show_bug.cgi?id=233236 > https://bugs.kde.org/show_bug.cgi?id=Bug > > > Diffs > ----- > > /trunk/extragear/office/kmymoney/kmymoney/dialogs/transactioneditor.cpp > 1231035 > > Diff: http://svn.reviewboard.kde.org/r/6674/diff > > > Testing > ------- > > Astyle run. Several buy, sell and reinvestment transactions entered/edited. > > > Thanks, > > Allan > >
_______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel