mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
crash fixed in InputField and InputArea
This commit is contained in:
@@ -1168,6 +1168,7 @@ _saveTitleRequestId(0), _saveDescriptionRequestId(0) {
|
||||
_title.setMaxLength(MaxGroupChannelTitle);
|
||||
_description.setMaxLength(MaxChannelDescription);
|
||||
_description.resize(width() - st::boxPadding.left() - st::newGroupInfoPadding.left() - st::boxPadding.right(), _description.height());
|
||||
myEnsureResized(&_description);
|
||||
|
||||
updateMaxHeight();
|
||||
connect(&_description, SIGNAL(resized()), this, SLOT(onDescriptionResized()));
|
||||
|
Reference in New Issue
Block a user