From 19b1b7b28602d525fe27a0700edb3e56c6de7c39 Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Wed, 22 Mar 2023 18:59:58 +0100 Subject: [PATCH] add open profile to syncshells --- MareSynchronos/UI/Components/DrawGroupPair.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MareSynchronos/UI/Components/DrawGroupPair.cs b/MareSynchronos/UI/Components/DrawGroupPair.cs index 808598b..90d2dc3 100644 --- a/MareSynchronos/UI/Components/DrawGroupPair.cs +++ b/MareSynchronos/UI/Components/DrawGroupPair.cs @@ -269,6 +269,12 @@ public class DrawGroupPair : DrawPairBase ImGui.Separator(); if (!_pair.IsPaused) { + if (UiSharedService.IconTextButton(FontAwesomeIcon.User, "Open Profile")) + { + _displayHandler.OpenProfile(_pair); + ImGui.CloseCurrentPopup(); + } + UiSharedService.AttachToolTip("Opens the profile for this user in a new window"); if (UiSharedService.IconTextButton(FontAwesomeIcon.ExclamationTriangle, "Report Mare Profile")) { ImGui.CloseCurrentPopup();