mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 15:59:49 +02:00
Merge pull request #4003 from birarda/master
remove the current address from the address bar
This commit is contained in:
commit
16e168fbd9
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