Work on #246.
This commit is contained in:
parent
3e8702fbd1
commit
f304d0a910
1 changed files with 2 additions and 2 deletions
|
@ -309,11 +309,11 @@ void MessagesView::selectionChanged(const QItemSelection& selected, const QItemS
|
||||||
emit currentMessageRemoved();
|
emit currentMessageRemoved();
|
||||||
}
|
}
|
||||||
|
|
||||||
QTreeView::selectionChanged(selected, deselected);
|
|
||||||
|
|
||||||
if (qApp->settings()->value(GROUP(Messages), SETTING(Messages::KeepCursorInCenter)).toBool()) {
|
if (qApp->settings()->value(GROUP(Messages), SETTING(Messages::KeepCursorInCenter)).toBool()) {
|
||||||
scrollTo(currentIndex(), QAbstractItemView::PositionAtCenter);
|
scrollTo(currentIndex(), QAbstractItemView::PositionAtCenter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QTreeView::selectionChanged(selected, deselected);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MessagesView::loadItem(RootItem* item) {
|
void MessagesView::loadItem(RootItem* item) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue