Save it...
This commit is contained in:
parent
d0c0234261
commit
0c26e31f29
@ -21,8 +21,6 @@ MessagesProxyModel::~MessagesProxyModel() {
|
||||
qDebug("Destroying MessagesProxyModel instance.");
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool MessagesProxyModel::lessThan(const QModelIndex &left, const QModelIndex &right) const {
|
||||
// TODO: Maybe use QString::localeAwareCompare() here for
|
||||
// title at least, but this will be probably little slower
|
||||
|
@ -108,6 +108,10 @@ void FeedsView::deleteSelectedItem() {
|
||||
}
|
||||
|
||||
if (selection_model->selectedRows().size() > 1) {
|
||||
// pridat BalloonTip z qonverteru a tady
|
||||
// ho odpalit pokud todle nastane
|
||||
// s hlaskou "More than one item selected, removing
|
||||
// only current one."
|
||||
selection_model->clearSelection();
|
||||
selection_model->select(current_index, QItemSelectionModel::Rows | QItemSelectionModel::SelectCurrent);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user