On Sonntag, 4. September 2022 20:24:57 CEST Jack via KMyMoney-devel wrote: > On 9/4/22 09:44, Thomas Baumgart via KMyMoney-devel wrote: > > Jack, > > > > On Montag, 29. August 2022 21:05:30 CEST Jack via KMyMoney-devel wrote: > >> The edit security dialog has a dropdown for price entry: "Price per > >> share," "Total for all shares," or "(default)". Where is the default > >> value set? I've been hunting, but have not been able to find it. > >> Even hunting in the code for "price per share" I only find two > >> references (new account dialog and new investment wizard.) > > If I understand this correct, you are looking for the code in > > ActivityPrivate::priceMode() (this is for master). At the end > > of that method it has the following section: > > > > // if mode is still <Price> then use that > > if (mode == eDialogs::PriceMode::Price) { > > mode = eDialogs::PriceMode::PricePerShare; > > } > > > > where eDialogs::PriceMode::Price is the default. > > Thanks. > > As I read that, it says that PricePerShare IS the default. If that's > the case, then I will open a wishlist to be able to change the default, > other than a local patch. Am I just imagining that I was ever able to > change the default?
Maybe, because you can only change it on a per security level but not globally. We can add a wish list item to select the default through settings. -- Regards Thomas Baumgart ------------------------------------------------------------- Adam and Eve: the first people to not read the Apple terms and conditions. -------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.