summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index 355f1b26b..14c662a0d 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -378,8 +378,12 @@ void LoginDialog::mergeUpdateHosts()
{
HostsGroup group;
- // TRANSLATORS: update hosts group default name
- group.name = _("default");
+ group.name = mServer->defaultHostName;
+ if (group.name.empty())
+ {
+ // TRANSLATORS: update hosts group default name
+ group.name = _("default updates");
+ }
group.hosts = mLoginData->updateHosts;
mServer->updateHosts.insert(mServer->updateHosts.begin(), group);
}