mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:24:00 +02:00
remove current address from address bar dialog
This commit is contained in:
parent
91cd0666d1
commit
0a66b23efa
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue