From da39f3d7fc705d52ad42a91a647f8de00e0f7814 Mon Sep 17 00:00:00 2001 From: Mahmoud Badri Date: Fri, 27 Sep 2019 10:58:08 +0300 Subject: [PATCH] Correct edit keyframe dialog title and fix its size - Make sure the edit keyframe dialog's title appears correctly. - Disabled resizing of the dialog. Change-Id: I2374e2f71e99b49b00c9600787a798e457b8ec01 Reviewed-by: Thomas Hartmann --- .../components/timelineeditor/setframevaluedialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/timelineeditor/setframevaluedialog.cpp b/src/plugins/qmldesigner/components/timelineeditor/setframevaluedialog.cpp index 29c3cd8eed5..dbb70ca07a5 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/setframevaluedialog.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/setframevaluedialog.cpp @@ -35,9 +35,10 @@ SetFrameValueDialog::SetFrameValueDialog(qreal frame, const QVariant &value, : QDialog(parent) , ui(new Ui::SetFrameValueDialog) { + ui->setupUi(this); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); setWindowTitle(tr("Edit Keyframe")); - ui->setupUi(this); + setFixedSize(size()); ui->lineEditFrame->setValidator(new QIntValidator(0, 99999, this));