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
PIM Messagelib
Commits
a6cebee3
Commit
a6cebee3
authored
Dec 01, 2022
by
Laurent Montel
Browse files
Fix bug 462492 Identity with CC Addresses starts composer without To: field
FIXED-IN: 5.22.0
BUG: 462492
parent
2964b308
Pipeline
#282636
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/recipient/recipientseditor.cpp
View file @
a6cebee3
...
...
@@ -234,12 +234,7 @@ void RecipientsEditor::slotLineAdded(MultiplyingLine *line)
if
(
count
>
0
)
{
if
(
count
==
1
)
{
auto
last_rec
=
qobject_cast
<
RecipientLineNG
*>
(
lines
().
constFirst
());
if
(
last_rec
&&
(
last_rec
->
recipientType
()
==
Recipient
::
Bcc
||
last_rec
->
recipientType
()
==
Recipient
::
ReplyTo
))
{
rec
->
setRecipientType
(
Recipient
::
To
);
}
else
{
rec
->
setRecipientType
(
Recipient
::
Cc
);
}
rec
->
setRecipientType
(
Recipient
::
To
);
}
else
{
auto
last_rec
=
qobject_cast
<
RecipientLineNG
*>
(
lines
().
at
(
lines
().
count
()
-
2
));
if
(
last_rec
)
{
...
...
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