Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
libksieve
Commits
71fb1356
Commit
71fb1356
authored
Jul 29, 2021
by
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
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
src/ksieveui/editor/sievetextedit.cpp
View file @
71fb1356
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment