Fix old upstream KDE 3 bug #111827

(cherry picked from commit 07c48c43ff)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent c3bd56014f
commit 755fbfa4a1

@ -423,8 +423,9 @@ void KActionSelector::buttonAddClicked()
d->selectedListBox->insertItem( item, insertionIndex( d->selectedListBox, d->selectedInsertionPolicy ) );
d->selectedListBox->setCurrentItem( item );
emit added( item );
}
item = item->next();
item = d->availableListBox->firstItem();
} else
item = item->next();
}
if ( d->selectedInsertionPolicy == Sorted )
d->selectedListBox->sort();
@ -441,8 +442,9 @@ void KActionSelector::buttonRemoveClicked()
d->availableListBox->insertItem( item, insertionIndex( d->availableListBox, d->availableInsertionPolicy ) );
d->availableListBox->setCurrentItem( item );
emit removed( item );
}
item = item->next();
item = d->selectedListBox->firstItem();
} else
item = item->next();
}
if ( d->availableInsertionPolicy == Sorted )
d->availableListBox->sort();

Loading…
Cancel
Save