Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
6d52b045
Commit
6d52b045
authored
Sep 20, 2021
by
Albert Astals Cid
Browse files
Improve dialog text when asking for annotation author name
The previous texts were totally wrong
BUGS: 442381
parent
d5b20d76
Pipeline
#82003
passed with stage
in 11 minutes and 24 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
part/pageviewannotator.cpp
View file @
6d52b045
...
...
@@ -1185,7 +1185,7 @@ void PageViewAnnotator::selectTool(AnnotationTools *toolsDefinition, int toolId,
// ask the user for confirmation/change
if
(
userName
.
isEmpty
())
{
bool
ok
=
false
;
userName
=
QInputDialog
::
getText
(
nullptr
,
i18n
(
"
Bookmark annotation"
),
i18n
(
"Insert a custom
name for the annotation:"
),
QLineEdit
::
Normal
,
QString
(),
&
ok
);
userName
=
QInputDialog
::
getText
(
nullptr
,
i18n
(
"
Author name"
),
i18n
(
"Author
name for the annotation:"
),
QLineEdit
::
Normal
,
QString
(),
&
ok
);
if
(
!
ok
)
{
detachAnnotation
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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