fix collections not showing in attachment list if there are only collections attached

pull/53/head
Zlatin Balevsky 2020-11-05 20:32:32 +00:00
parent a030e862ee
commit 50b12dc6d2
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 1 deletions

View File

@ -1328,7 +1328,7 @@ class MainFrameView {
model.messageButtonsEnabled = true model.messageButtonsEnabled = true
model.messageRecipientList = String.join(",", selected.recipients.collect {it.getHumanReadableName()}) model.messageRecipientList = String.join(",", selected.recipients.collect {it.getHumanReadableName()})
if (selected.attachments.isEmpty()) if (selected.attachments.isEmpty() && selected.collections.isEmpty())
messageSplitPane.setDividerLocation(1.0d) messageSplitPane.setDividerLocation(1.0d)
else { else {
messageSplitPane.setDividerLocation(0.7d) messageSplitPane.setDividerLocation(0.7d)