mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-14 09:29:30 -04:00
Reset to the first page when changing topics
This commit is contained in:
parent
9385f0c8c1
commit
d836694ce2
2 changed files with 8 additions and 0 deletions
|
@ -124,6 +124,13 @@ QIcon PostedListWidget::groupIcon()
|
|||
return QIcon();
|
||||
}
|
||||
|
||||
void PostedListWidget::groupIdChanged()
|
||||
{
|
||||
mPostIndex = 0;
|
||||
GxsMessageFramePostWidget::groupIdChanged();
|
||||
updateShowText();
|
||||
}
|
||||
|
||||
/*****************************************************************************************/
|
||||
// Overloaded from FeedHolder.
|
||||
QScrollArea *PostedListWidget::getScrollArea()
|
||||
|
|
|
@ -44,6 +44,7 @@ public:
|
|||
|
||||
/* GxsMessageFrameWidget */
|
||||
virtual QIcon groupIcon();
|
||||
virtual void groupIdChanged();
|
||||
|
||||
/* FeedHolder */
|
||||
virtual QScrollArea *getScrollArea();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue