Fix DEFAULT_URL

This commit is contained in:
Paul Rouget 2020-06-26 13:40:44 +02:00
parent 345238a352
commit 2ef6ba25dc
7 changed files with 56 additions and 37 deletions

View file

@ -7,7 +7,6 @@
#include "BrowserPage.h"
#include "BrowserPage.g.cpp"
#include "ConsoleLog.g.cpp"
#include "DefaultUrl.h"
#include "Devtools/Client.h"
using namespace std::placeholders;
@ -148,7 +147,7 @@ void BrowserPage::OnStopButtonClicked(IInspectable const &,
void BrowserPage::OnHomeButtonClicked(IInspectable const &,
RoutedEventArgs const &) {
servoControl().LoadURIOrSearch(DEFAULT_URL);
servoControl().GoHome();
}
// Given a pref, update its associated UI control.