mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
Reset to the first page when changing topics
This commit is contained in:
parent
9385f0c8c1
commit
d836694ce2
@ -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…
Reference in New Issue
Block a user