mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -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();
|
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…
Reference in New Issue
Block a user