summaryrefslogtreecommitdiff
path: root/src/gui/windows/unregisterdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/unregisterdialog.cpp')
-rw-r--r--src/gui/windows/unregisterdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/windows/unregisterdialog.cpp b/src/gui/windows/unregisterdialog.cpp
index 24ce90108..7dc18da4e 100644
--- a/src/gui/windows/unregisterdialog.cpp
+++ b/src/gui/windows/unregisterdialog.cpp
@@ -44,7 +44,7 @@
UnRegisterDialog::UnRegisterDialog(LoginData *const data) :
// TRANSLATORS: unregister dialog name
- Window(_("Unregister"), true, nullptr, "unregister.xml"),
+ Window(_("Unregister"), Modal_true, nullptr, "unregister.xml"),
ActionListener(),
mLoginData(data),
mPasswordField(new PasswordField(this, mLoginData->password)),
@@ -145,7 +145,10 @@ void UnRegisterDialog::action(const ActionEvent &event)
// TRANSLATORS: ok dialog button
_("OK"),
DialogType::ERROR,
- true, true, nullptr, 260);
+ Modal_true,
+ true,
+ nullptr,
+ 260);
dlg->addActionListener(mWrongDataNoticeListener);
}
else