Commit 71fb1356 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 440041 - Sieve editor does not show the line numbers correctly

BUG: 440041
FIXED-IN: 5.18.0
parent a855ec3e
Pipeline #72510 skipped
......@@ -107,7 +107,7 @@ int SieveTextEdit::lineNumberAreaWidth() const
++digits;
}
const int space = 2 + fontMetrics().boundingRect(QLatin1Char('9')).width() * digits;
const int space = 2 + fontMetrics().boundingRect(QLatin1Char('X')).width() * digits;
return space;
}
......
Markdown is supported
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