2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Beta version 1.4.4: Correct caption limit.

This commit is contained in:
John Preston
2018-10-17 14:38:07 +03:00
parent 54f2b1b2d8
commit c5d20a21f7
8 changed files with 15 additions and 6 deletions

View File

@@ -1556,7 +1556,7 @@ void SendFilesBox::applyAlbumOrder() {
}
void SendFilesBox::setupCaption() {
_caption->setMaxLength(MaxPhotoCaption);
_caption->setMaxLength(Global::CaptionLengthMax());
_caption->setSubmitSettings(Ui::InputField::SubmitSettings::Both);
connect(_caption, &Ui::InputField::resized, [=] {
captionResized();