mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-15 18:09:32 -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();
|
return QIcon();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PostedListWidget::groupIdChanged()
|
||||||
|
{
|
||||||
|
mPostIndex = 0;
|
||||||
|
GxsMessageFramePostWidget::groupIdChanged();
|
||||||
|
updateShowText();
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************************/
|
/*****************************************************************************************/
|
||||||
// Overloaded from FeedHolder.
|
// Overloaded from FeedHolder.
|
||||||
QScrollArea *PostedListWidget::getScrollArea()
|
QScrollArea *PostedListWidget::getScrollArea()
|
||||||
|
|
|
@ -44,6 +44,7 @@ public:
|
||||||
|
|
||||||
/* GxsMessageFrameWidget */
|
/* GxsMessageFrameWidget */
|
||||||
virtual QIcon groupIcon();
|
virtual QIcon groupIcon();
|
||||||
|
virtual void groupIdChanged();
|
||||||
|
|
||||||
/* FeedHolder */
|
/* FeedHolder */
|
||||||
virtual QScrollArea *getScrollArea();
|
virtual QScrollArea *getScrollArea();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue