mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Don't move combobox item in the same position (works incorrect under Qt4)
This commit is contained in:
parent
01e784679c
commit
98ba15ffb5
1 changed files with 1 additions and 1 deletions
|
|
@ -807,7 +807,7 @@ begin
|
|||
|
||||
if (I < 0) or (I >= Count) then
|
||||
comboBox.Items.Insert(0, sLine)
|
||||
else
|
||||
else if (I > 0) then
|
||||
begin
|
||||
comboBox.Items.Move(I, 0);
|
||||
// Reset selected item (and combobox text), because Move has destroyed it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue