From 395b10c4c0b7663f7378a38fc5a587e9e6f2b110 Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Mon, 21 Jun 2021 10:44:29 +1000 Subject: [PATCH] fix: edit channel modal header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #2694. Display channel name in modal header when editing a channel instead of “New channel”. --- .../AppLayouts/Chat/CommunityComponents/CreateChannelPopup.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CreateChannelPopup.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CreateChannelPopup.qml index cb2c8cea05..94f36d74d0 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CreateChannelPopup.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CreateChannelPopup.qml @@ -28,6 +28,7 @@ ModalPopup { nameInput.text = ""; if (isEdit) { nameInput.text = channel.name; + title = qsTr("Edit #%1").arg(channel.name); descriptionTextArea.text = channel.description; // TODO: re-enable once private channels are implemented // privateSwitch.checked = channel.private