Fix: Focus startup WebView
[WebThing.git] / WebThing.cs
index 9429099..fd2eb99 100644 (file)
@@ -97,10 +97,9 @@ namespace bytex64.WebThing {
 
             // Create a new, default WebThingView if one has not already
             // been created.
-            if (Tabs.NPages == 0) {
-                WebThingView default_tab = NewTab();
-                default_tab.WebView.GrabFocus();
-            }
+            if (Tabs.NPages == 0)
+                OpenUriTab("http://dominionofawesome.com/");
+            WebView.GrabFocus();
 
             Application.Run();
         }