summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 65a50467..b80273ee 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2544,10 +2544,10 @@ void CCompositor::openSafeModeBox() {
auto box = CAsyncDialogBox::create(I18n::i18nEngine()->localize(I18n::TXT_KEY_SAFE_MODE_TITLE), I18n::i18nEngine()->localize(I18n::TXT_KEY_SAFE_MODE_DESCRIPTION),
{
- OPT_LOAD,
- OPT_OPEN,
- OPT_OK,
- });
+ OPT_LOAD,
+ OPT_OPEN,
+ OPT_OK,
+ });
box->open()->then([OPT_LOAD, OPT_OK, OPT_OPEN, this](SP<CPromiseResult<std::string>> result) {
if (result->hasError())