diff --git a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp index ed8a77787..be668fcd3 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_forum_topic_box.cpp @@ -19,6 +19,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "data/data_forum_topic.h" #include "data/data_session.h" #include "data/stickers/data_custom_emoji.h" +#include "base/event_filter.h" #include "base/random.h" #include "base/qt_signal_producer.h" #include "chat_helpers/emoji_list_widget.h" @@ -482,6 +483,9 @@ void EditForumTopicBox( state->defaultIcon.current().colorId, }; }, title->lifetime()); + title->submits() | rpl::start_with_next([box] { + box->triggerButton(0); + }, title->lifetime()); if (!topic || !topic->isGeneral()) { Ui::AddDividerText(top, tr::lng_forum_choose_title_and_icon());