mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +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() {
|
||||
if (!_domainConnectionDialog) {
|
||||
// if the dialog already exists we delete it so the connection data is refreshed
|
||||
maybeCreateDialog(_domainConnectionDialog);
|
||||
|
||||
_domainConnectionDialog->show();
|
||||
_domainConnectionDialog->raise();
|
||||
// if the dialog already exists we delete it so the connection data is refreshed
|
||||
if (_domainConnectionDialog) {
|
||||
_domainConnectionDialog->close();
|
||||
_domainConnectionDialog = NULL;
|
||||
}
|
||||
|
||||
maybeCreateDialog(_domainConnectionDialog);
|
||||
|
||||
_domainConnectionDialog->show();
|
||||
_domainConnectionDialog->raise();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue