Avoid redundant memory dump requests when the combobox is dropped down.
commit74f4fe97cdec91c18c9bfad748cfbd6ebaead633
authorJohannes Sixt <j6t@kdbg.org>
Sun, 14 May 2017 12:02:13 +0000 (14 14:02 +0200)
committerJohannes Sixt <j6t@kdbg.org>
Sun, 14 May 2017 12:02:13 +0000 (14 14:02 +0200)
treed743e1e5eb5eaf167267f4f4259933f0e30fdd5e
parent331a4e10783bd549021548b5b035f0dd23150a62
Avoid redundant memory dump requests when the combobox is dropped down.

After having requested a memory dump, the address expression is removed
from the combobox's list and inserted at the top. When the user drops down
the list later, the "current index" does not match the current text and an
signal activat() is sent. Avoid this by setting the current index to the
value inserted at the top of the list. Now the signal is sent only when a
text is actually selected.
kdbg/memwindow.cpp