diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 824d07e5a..f53873c6a 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2892,10 +2892,13 @@ Window *Client::openErrorDialog(const std::string &header, } else { - return new ConfirmDialog(header, strprintf("%s %s", message.c_str(), + ConfirmDialog *const dialog = new ConfirmDialog( + header, strprintf("%s %s", message.c_str(), // TRANSLATORS: error message question _("Do you want to open support page?")), SOUND_ERROR, false, modal); + dialog->postInit(); + return dialog; } } |