[Konsole-devel] [Bug 183069] Crash on removing key bindings

Dario Andres andresbajotierra at gmail.com
Sun May 24 23:12:25 UTC 2009


Dario Andres <andresbajotierra at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |andresbajotierra at gmail.com

--- Comment #1 from Dario Andres <andresbajotierra gmail com>  2009-05-25 01:12:24 ---
I can reproduce if I select the two columns of the same row.

_ui->keyBindingTable->selectedItems() will return both items, but the deletion
process removes the whole row at the end, so when the loop is going to process
the second item, its row is gone and it will crash.

Possible solutions:
- Filter the "_ui->keyBindingTable->selectedItems()" list to only have one item
per row.
- Do any other check to not access that item if its row does not exist

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the konsole-devel mailing list