mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
fixed bug causing ipossibility to pin/unpin forum posts
This commit is contained in:
parent
07abdeeceb
commit
431fbf4124
1 changed files with 1 additions and 1 deletions
|
@ -1558,7 +1558,7 @@ void GxsForumThreadWidget::togglePinUpPost()
|
||||||
|
|
||||||
// normally this method is only called on top level items. We still check it just in case...
|
// normally this method is only called on top level items. We still check it just in case...
|
||||||
|
|
||||||
if(mThreadProxyModel->mapToSource(index).parent() != mThreadModel->root())
|
if(mThreadProxyModel->mapToSource(index).parent().isValid())
|
||||||
{
|
{
|
||||||
std::cerr << "(EE) togglePinUpPost() called on non top level post. This is inconsistent." << std::endl;
|
std::cerr << "(EE) togglePinUpPost() called on non top level post. This is inconsistent." << std::endl;
|
||||||
return ;
|
return ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue