mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-01-01 00:30:30 -05:00
fix loading group
This commit is contained in:
parent
94846a7c2a
commit
5684cd1831
1 changed files with 3 additions and 3 deletions
|
|
@ -527,14 +527,14 @@ void PostedListWidgetWithModel::copyMessageLink()
|
|||
|
||||
void PostedListWidgetWithModel::editPost()
|
||||
{
|
||||
QModelIndex index = ui->postsTree->selectionModel()->currentIndex();
|
||||
QModelIndex index = ui->postsTree->selectionModel()->currentIndex();
|
||||
RsPostedPost post = index.data(Qt::UserRole).value<RsPostedPost>() ;
|
||||
|
||||
RsGxsId author_id;
|
||||
ui->idChooser->getChosenId(author_id);
|
||||
|
||||
PostedCreatePostDialog *msgDialog = new PostedCreatePostDialog(rsPosted,post.mMeta.mGroupId,author_id, post.mMeta.mMsgId);
|
||||
msgDialog->show();
|
||||
PostedCreatePostDialog *msgDialog = new PostedCreatePostDialog(rsPosted, groupId(),author_id, post.mMeta.mMsgId);
|
||||
msgDialog->show();
|
||||
}
|
||||
|
||||
void PostedListWidgetWithModel::handleEvent_main_thread(std::shared_ptr<const RsEvent> event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue