From 5684cd1831f7fd7df2d260c1881ca19f684475da Mon Sep 17 00:00:00 2001 From: defnax <9952056+defnax@users.noreply.github.com> Date: Wed, 24 Dec 2025 22:13:35 +0100 Subject: [PATCH] fix loading group --- retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp index d9d8bd6be..e9e436a0b 100644 --- a/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp +++ b/retroshare-gui/src/gui/Posted/PostedListWidgetWithModel.cpp @@ -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() ; 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 event)