mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Fix DEFAULT_URL
This commit is contained in:
parent
345238a352
commit
2ef6ba25dc
7 changed files with 56 additions and 37 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue