[kmymoney] [Bug 520514] Wrong security set when leaving security input field
Ingo Klöcker
bugzilla_noreply at kde.org
Sat May 23 21:17:11 BST 2026
https://bugs.kde.org/show_bug.cgi?id=520514
Ingo Klöcker <kloecker at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version| |5.2.3
Fixed/Implemented| |
In| |
Status|ASSIGNED |RESOLVED
Latest Commit| |https://invent.kde.org/offi
| |ce/kmymoney/-/commit/c7bcd4
| |d5da181f32e9ecb81b51f9ee803
| |8f7c44d
Resolution|--- |FIXED
--- Comment #2 from Ingo Klöcker <kloecker at kde.org> ---
Git commit c7bcd4d5da181f32e9ecb81b51f9ee8038f7c44d by Ingo Klöcker, on behalf
of Ingo Klöcker.
Committed on 22/05/2026 at 21:27.
Pushed by kloecker into branch '5.2'.
Fix setting of wrong security when leaving security widget
QCompleter::currentIndex() unfortunately doesn't return what one might
rightfully expect. Apparently, it always returns the first index of the
items that are displayed in the popup or that were displayed in the
popup when the popup was last open. In particular, it returns the wrong
index if the user selected a different item in the popup.
If the popup is currently visible then popup()->currentIndex() returns
the index of the security that we want to use. Otherwise, we use the
model index corresponding to the currentIndex() of the combo box (which
represents the security that was explicitly selected by the user).
Fixes commit 9f1c7dd0c1c76bdaa4b98b267c787613e94a1e64
FIXED-IN: 5.2.3
M +10 -4 kmymoney/views/investtransactioneditor.cpp
https://invent.kde.org/office/kmymoney/-/commit/c7bcd4d5da181f32e9ecb81b51f9ee8038f7c44d
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list