mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 07:44:09 +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) {
|
void AddressBarDialog::showEvent(QShowEvent* event) {
|
||||||
_goButton->setIcon(QIcon(PathUtils::resourcesPath() + ADDRESSBAR_GO_BUTTON_ICON));
|
_goButton->setIcon(QIcon(PathUtils::resourcesPath() + ADDRESSBAR_GO_BUTTON_ICON));
|
||||||
_addressLineEdit->setText(AddressManager::getInstance().currentAddress().toString());
|
_addressLineEdit->setText(QString());
|
||||||
_addressLineEdit->setFocus();
|
_addressLineEdit->setFocus();
|
||||||
_addressLineEdit->selectAll();
|
|
||||||
FramelessDialog::showEvent(event);
|
FramelessDialog::showEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue