summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/setup_theme.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_theme.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/widgets/tabs/setup_theme.cpp b/src/gui/widgets/tabs/setup_theme.cpp
index e795b0928..9efba0897 100644
--- a/src/gui/widgets/tabs/setup_theme.cpp
+++ b/src/gui/widgets/tabs/setup_theme.cpp
@@ -312,7 +312,7 @@ void Setup_Theme::action(const ActionEvent &event)
_("OK"),
DialogType::OK,
Modal_false,
- true,
+ ShowCenter_true,
nullptr,
600);
}
@@ -340,13 +340,14 @@ void Setup_Theme::apply()
if (config.getStringValue("theme") != mTheme)
{
// TRANSLATORS: theme message dialog
- new OkDialog(_("Theme Changed"), _("Restart your client for "
- "the change to take effect."),
+ new OkDialog(_("Theme Changed"),
+ // TRANSLATORS: ok dialog message
+ _("Restart your client for the change to take effect."),
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::OK,
Modal_true,
- true,
+ ShowCenter_true,
nullptr,
260);
}