Commit 85d1d32c authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Fix commit dialog resizing issues

Signed-off-by: Waqar Ahmed's avatarWaqar Ahmed <>
parent efd17429
......@@ -97,8 +97,8 @@ GitCommitDialog::GitCommitDialog(const QString &lastCommit, const QFont &font, Q
// set 72 chars wide plain text edit
this->setFixedHeight(fm.averageCharWidth() * 52);
m_pe.resize(width, m_pe.height());
resize(width, fm.averageCharWidth() * 52);
// restore last message ?
if (!lastCommit.isEmpty()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment