2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add create poll box from groups three-dot menu.

This commit is contained in:
John Preston
2018-12-20 20:02:44 +04:00
parent 74c1db740d
commit b6f7832745
15 changed files with 752 additions and 52 deletions

View File

@@ -2160,7 +2160,11 @@ void InputField::handleContentsChanged() {
if (tagsChanged || (_lastTextWithTags.text != currentText)) {
_lastTextWithTags.text = currentText;
const auto weak = make_weak(this);
emit changed();
if (!weak) {
return;
}
checkContentHeight();
}
startPlaceholderAnimation();