From 86d1820cc25705d08be828e13a07b6e902608f32 Mon Sep 17 00:00:00 2001 From: Bleak Grey Date: Sat, 24 Oct 2020 20:56:57 +0300 Subject: [PATCH] Widgets.Attachment.Box: Hide if empty --- data/ui/widgets/status.ui | 1 - src/Widgets/Attachment/Box.vala | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/data/ui/widgets/status.ui b/data/ui/widgets/status.ui index ec11bfd..ec59fb2 100644 --- a/data/ui/widgets/status.ui +++ b/data/ui/widgets/status.ui @@ -259,7 +259,6 @@ - True False diff --git a/src/Widgets/Attachment/Box.vala b/src/Widgets/Attachment/Box.vala index 8665dd6..7944480 100644 --- a/src/Widgets/Attachment/Box.vala +++ b/src/Widgets/Attachment/Box.vala @@ -40,6 +40,7 @@ public class Tootle.Widgets.Attachment.Box : FlowBox { public bool pack (API.Attachment obj) { var w = new Widgets.Attachment.Slot (obj); insert (w, -1); + show (); return true; }