remove current address from address bar dialog

This commit is contained in:
Stephen Birarda 2014-12-23 13:33:19 -08:00
parent 91cd0666d1
commit 0a66b23efa

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);
}