diff options
| author | Michael <[email protected]> | 2017-02-02 19:51:57 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-02 19:51:57 -0500 |
| commit | 487deee243c7b1994f049c3d190e1e0971973bca (patch) | |
| tree | 0d46457bbe426ede9787faf9216d68d9dafc581e /ShiftOS.WinForms/Applications/Shiftnet.cs | |
| parent | bf100ab099e7335711ea739cb10a4a9df4b89dc5 (diff) | |
| download | shiftos_thereturn-487deee243c7b1994f049c3d190e1e0971973bca.tar.gz shiftos_thereturn-487deee243c7b1994f049c3d190e1e0971973bca.tar.bz2 shiftos_thereturn-487deee243c7b1994f049c3d190e1e0971973bca.zip | |
Fix download UI
Diffstat (limited to 'ShiftOS.WinForms/Applications/Shiftnet.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Shiftnet.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ShiftOS.WinForms/Applications/Shiftnet.cs b/ShiftOS.WinForms/Applications/Shiftnet.cs index 986eec6..d89b55a 100644 --- a/ShiftOS.WinForms/Applications/Shiftnet.cs +++ b/ShiftOS.WinForms/Applications/Shiftnet.cs @@ -89,11 +89,12 @@ namespace ShiftOS.WinForms.Applications private void wbcanvas_Navigating(object sender, WebBrowserNavigatingEventArgs e) { - if (CurrentUrl != e.Url.ToString() && !e.Url.ToString().StartsWith("about:")) + string Url = e.Url.ToString().Replace("http://", ""); + if (CurrentUrl != Url.ToString() && !Url.ToString().StartsWith("about:")) { e.Cancel = true; Future.Clear(); - ShiftnetNavigate(e.Url.ToString()); + ShiftnetNavigate(Url.ToString()); } } @@ -227,5 +228,10 @@ namespace ShiftOS.WinForms.Applications e.SuppressKeyPress = true; } } + + private void wbcanvas_Navigated(object sender, WebBrowserNavigatedEventArgs e) + { + } } } + |
