From f9db4bd7b31a0be1d3d937b16d52a2ce1f255f12 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Mon, 26 Feb 2018 16:50:27 +0000 Subject: [PATCH] linux eventlog: Remove not needed webview disposal/creation --- SparkleShare/Linux/EventLog.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SparkleShare/Linux/EventLog.cs b/SparkleShare/Linux/EventLog.cs index 427dd95c..a6abdbfc 100755 --- a/SparkleShare/Linux/EventLog.cs +++ b/SparkleShare/Linux/EventLog.cs @@ -184,15 +184,14 @@ namespace SparkleShare { this.spinner.Stop (); this.scrolled_window.Remove (this.scrolled_window.Child); - this.web_view.Dispose (); - this.web_view = CreateWebView (); this.web_view.LoadHtml (html, "file:///"); this.scrolled_window.Add (this.web_view); this.content_wrapper.Remove (this.content_wrapper.Child); this.content_wrapper.Add (this.scrolled_window); + this.scrolled_window.ShowAll (); }