fix: edit channel modal header
Fixes: #2694. Display channel name in modal header when editing a channel instead of “New channel”.
This commit is contained in:
parent
fd4e0de3f3
commit
395b10c4c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue