https://bugs.kde.org/show_bug.cgi?id=509767
Rolf Eike Beer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/util | |ities/kgpg/-/commit/ab0a524 | |9d9c07f085e27e9243a92b600dc | |cf923d Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #2 from Rolf Eike Beer <[email protected]> --- Git commit ab0a5249d9c07f085e27e9243a92b600dccf923d by Rolf Eike Beer, on behalf of Wendi Gan. Committed on 27/09/2025 at 19:54. Pushed by dakon into branch 'master'. Fix crash when editing a key in terminal the second time Issue: 1. Select a key. 2. Click the `Keys` menu, `Edit Key in Terminal`. 3. Close the terminal window. 4. Click the `Keys` menu, `Edit Key in Terminal` again → crash in `KeysManager::slotedit`. Reason: - In step 3, `KeysManager::slotEditDone` calls `KGpgItemModel::refreshKeys(KGpgKeyNode::List)`, and `beginResetModel()` clear all selections. - In step 4, `iview->selectedNode()` is null, leading to the crash. Change: After `KGpgItemModel::refreshKey`, restore the previously selected key. M +6 -1 keysmanager.cpp https://invent.kde.org/utilities/kgpg/-/commit/ab0a5249d9c07f085e27e9243a92b600dccf923d -- You are receiving this mail because: You are watching all bug changes.
