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