mirror of
https://github.com/lubosz/overte.git
synced 2025-08-17 01:30:55 +02:00
refresh the network dialog if it is already up
This commit is contained in:
parent
cb7b23f346
commit
7f86ca3f10
1 changed files with 9 additions and 6 deletions
|
@ -178,11 +178,14 @@ void DialogsManager::showIRCLink() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogsManager::showDomainConnectionDialog() {
|
void DialogsManager::showDomainConnectionDialog() {
|
||||||
if (!_domainConnectionDialog) {
|
// if the dialog already exists we delete it so the connection data is refreshed
|
||||||
// if the dialog already exists we delete it so the connection data is refreshed
|
if (_domainConnectionDialog) {
|
||||||
maybeCreateDialog(_domainConnectionDialog);
|
_domainConnectionDialog->close();
|
||||||
|
_domainConnectionDialog = NULL;
|
||||||
_domainConnectionDialog->show();
|
|
||||||
_domainConnectionDialog->raise();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
maybeCreateDialog(_domainConnectionDialog);
|
||||||
|
|
||||||
|
_domainConnectionDialog->show();
|
||||||
|
_domainConnectionDialog->raise();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue