Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Commit

Permalink
Another attempt at fixing crashes.
Browse files Browse the repository at this point in the history
  • Loading branch information
alcinnz committed Jul 31, 2017
1 parent fc0033e commit bd005bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BrowserWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public class Odysseus.BrowserWindow : Gtk.ApplicationWindow {

// This makes sure that UI remains consistant with WebKit,
// Even if the event handlers don't keep us up-to-date successfully.
Timeout.add_seconds(2, () => {
Timeout.add_seconds(1, () => {
disconnect_webview();
connect_webview((Odysseus.WebTab) tabs.current);
return true;
}, Priority.DEFAULT_IDLE);
Expand Down

0 comments on commit bd005bb

Please sign in to comment.