adding back goToLastAddress back

This commit is contained in:
Wayne Chen 2018-09-11 17:07:49 -07:00 committed by GitHub
parent 84f95dd4b8
commit a85a7a6119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,6 +152,11 @@ void AddressManager::goForward() {
}
}
void AddressManager::goToLastAddress() {
// this should always return something as long as the URL isn't empty.
handleUrl(_lastVisitedURL, LookupTrigger::AttemptedRefresh);
}
void AddressManager::storeCurrentAddress() {
auto url = currentAddress();