From 50b12dc6d25ab5e76d6d4493e9d25b8c026db546 Mon Sep 17 00:00:00 2001 From: Zlatin Balevsky Date: Thu, 5 Nov 2020 20:32:32 +0000 Subject: [PATCH] fix collections not showing in attachment list if there are only collections attached --- gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy index a52db37b..1041decd 100644 --- a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy @@ -1328,7 +1328,7 @@ class MainFrameView { model.messageButtonsEnabled = true model.messageRecipientList = String.join(",", selected.recipients.collect {it.getHumanReadableName()}) - if (selected.attachments.isEmpty()) + if (selected.attachments.isEmpty() && selected.collections.isEmpty()) messageSplitPane.setDividerLocation(1.0d) else { messageSplitPane.setDividerLocation(0.7d)