mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-31 09:34:52 +01:00
#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/>
|
||||||
|
@ -415,7 +415,7 @@ void FeedsView::restoreRecycleBin() {
|
|||||||
emit feedsNeedToBeReloaded(true);
|
emit feedsNeedToBeReloaded(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FeedsView::updateCountsOfSelectedFeeds(bool update_total_too) {
|
void FeedsView::updateCountsOfSelectedFeeds(bool update_total_too) {
|
||||||
foreach (Feed *feed, selectedFeeds()) {
|
foreach (Feed *feed, selectedFeeds()) {
|
||||||
feed->updateCounts(update_total_too);
|
feed->updateCounts(update_total_too);
|
||||||
}
|
}
|
||||||
@ -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