From a905e9e1554dc2a4299a20bac2996d4ea4a7e795 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 26 Feb 2018 16:16:01 +0000 Subject: [PATCH] linux note: Fix crash/warnings due to packing logic --- SparkleShare/Linux/Note.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SparkleShare/Linux/Note.cs b/SparkleShare/Linux/Note.cs index 8afb46fb..6beb31fe 100644 --- a/SparkleShare/Linux/Note.cs +++ b/SparkleShare/Linux/Note.cs @@ -56,6 +56,9 @@ namespace SparkleShare { Controller.ShowWindowEvent += delegate { Application.Invoke (delegate { + if (Child != null) + Remove (Child); + CreateNote (); ShowAll (); Present ();