#122 fixed.
This commit is contained in:
parent
a3773914b7
commit
5da26eee69
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
Fixed:
|
Fixed:
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>Categories are now not expanded when selected using "Go to next/previous item" in feeds list. (bug #122)</li>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
||||||
<hr/>
|
<hr/>
|
||||||
|
@ -469,9 +469,12 @@ void FeedsView::updateCountsOfParticularFeed(Feed *feed, bool update_total_too)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FeedsView::selectNextItem() {
|
void FeedsView::selectNextItem() {
|
||||||
|
// NOTE: Bug #122 requested to not expand in here.
|
||||||
|
/*
|
||||||
if (!isExpanded(currentIndex())) {
|
if (!isExpanded(currentIndex())) {
|
||||||
expand(currentIndex());
|
expand(currentIndex());
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
QModelIndex index_next = moveCursor(QAbstractItemView::MoveDown, Qt::NoModifier);
|
QModelIndex index_next = moveCursor(QAbstractItemView::MoveDown, Qt::NoModifier);
|
||||||
|
|
||||||
@ -485,11 +488,13 @@ void FeedsView::selectNextItem() {
|
|||||||
void FeedsView::selectPreviousItem() {
|
void FeedsView::selectPreviousItem() {
|
||||||
QModelIndex index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier);
|
QModelIndex index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier);
|
||||||
|
|
||||||
|
// NOTE: Bug #122 requested to not expand in here.
|
||||||
|
/*
|
||||||
if (!isExpanded(index_previous)) {
|
if (!isExpanded(index_previous)) {
|
||||||
expand(index_previous);
|
expand(index_previous);
|
||||||
}
|
|
||||||
|
|
||||||
index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier);
|
index_previous = moveCursor(QAbstractItemView::MoveUp, Qt::NoModifier);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (index_previous.isValid()) {
|
if (index_previous.isValid()) {
|
||||||
setCurrentIndex(index_previous);
|
setCurrentIndex(index_previous);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user