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
PIM
PIM Messagelib
Commits
eead28d3
Commit
eead28d3
authored
Oct 13, 2021
by
Laurent Montel
😁
Browse files
Inform when we can't add new line
parent
b2260569
Pipeline
#88502
passed with stage
in 43 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/recipient/recipientseditor.cpp
View file @
eead28d3
...
...
@@ -121,7 +121,12 @@ void RecipientsEditor::setRecipientString(const QVector<KMime::Types::Mailbox> &
MessageComposer
::
MessageComposerSettings
::
self
()
->
maximumRecipients
()));
break
;
}
addRecipient
(
mailbox
.
prettyAddress
(
KMime
::
Types
::
Mailbox
::
QuoteWhenNecessary
),
type
);
if
(
!
addRecipient
(
mailbox
.
prettyAddress
(
KMime
::
Types
::
Mailbox
::
QuoteWhenNecessary
),
type
))
{
KMessageBox
::
sorry
(
this
,
i18nc
(
"@info:status"
,
"Truncating recipients list to %1."
,
MessageComposer
::
MessageComposerSettings
::
self
()
->
maximumRecipients
()));
break
;
}
}
}
...
...
Write
Preview
Markdown
is supported
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