mirror of https://github.com/zlatinb/muwire
fix collections not showing in attachment list if there are only collections attached
parent
a030e862ee
commit
50b12dc6d2
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue