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 <thomas.hartmann@qt.io>
This commit is contained in:
Mahmoud Badri
2019-09-27 10:58:08 +03:00
parent 0ffe31bec3
commit da39f3d7fc

View File

@@ -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));