[Bug 49698] Article viewer gets cleared when viewing new article and news fetch ends
Alex Alexandrov
swined at gmail.com
Fri Apr 15 12:36:28 BST 2011
https://bugs.kde.org/show_bug.cgi?id=49698
--- Comment #18 from Alex Alexandrov <swined gmail com> 2011-04-15 13:36:25 ---
another, even better, path for this:
diff --git a/knode/knarticlemanager.cpp b/knode/knarticlemanager.cpp
index 46d1b69..94dc3ab 100644
--- a/knode/knarticlemanager.cpp
+++ b/knode/knarticlemanager.cpp
@@ -276,22 +276,7 @@ void KNArticleManager::showHdrs(bool clear)
}
- if (current && !current->filterResult()) { // try to find a
parent that is visible
- int idRef;
- while (current && !current->filterResult()) {
- idRef=current->idRef();
- if (idRef == -1)
- break;
- current = g_roup->byId(idRef);
- }
- }
-
- if(current && current->filterResult()) {
- if(!current->listItem())
- createCompleteThread(current);
- v_iew->setActive( current->listItem() );
- setFirstChild=false;
- }
+ setFirstChild = !current;
d_isableExpander=false;
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list