put serverless domain into history if going to a different serverless domain

This commit is contained in:
Seth Alves 2018-03-01 12:19:42 -08:00
parent 2d374583b4
commit b18993e09f

View file

@ -754,7 +754,7 @@ bool AddressManager::setDomainInfo(const QUrl& domainURL, LookupTrigger trigger)
quint16 port = domainURL.port();
bool emitHostChanged { false };
if (domainURL.host() != _domainURL.host() || domainURL.port() != _domainURL.port()) {
if (domainURL != _domainURL) {
addCurrentAddressToHistory(trigger);
emitHostChanged = true;
}