linux eventlog: Remove not needed webview disposal/creation

This commit is contained in:
Hylke Bons 2018-02-26 16:50:27 +00:00
parent 8dbc6af3ef
commit f9db4bd7b3

View file

@ -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 ();
}