Merge pull request #4003 from birarda/master

remove the current address from the address bar
This commit is contained in:
Philip Rosedale 2014-12-23 16:32:09 -08:00
commit 16e168fbd9

View file

@ -116,9 +116,8 @@ void AddressBarDialog::setupUI() {
void AddressBarDialog::showEvent(QShowEvent* event) {
_goButton->setIcon(QIcon(PathUtils::resourcesPath() + ADDRESSBAR_GO_BUTTON_ICON));
_addressLineEdit->setText(AddressManager::getInstance().currentAddress().toString());
_addressLineEdit->setText(QString());
_addressLineEdit->setFocus();
_addressLineEdit->selectAll();
FramelessDialog::showEvent(event);
}