From 0c6809ad24bce28c8ae587d646c0287be88de101 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 26 Mar 2014 00:29:02 +0300 Subject: Add option to hide support page link in error dialog. --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 4dccaf0cc..70f27f773 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2987,7 +2987,7 @@ Window *Client::openErrorDialog(const std::string &header, const std::string &message, const bool modal) { - if (getSupportUrl().empty()) + if (getSupportUrl().empty() || config.getBoolValue("hidesupport")) { return new OkDialog(header, message, DIALOG_ERROR, modal); } -- cgit v1.2.3-60-g2f50