turned message about disabled converters from prefs from warning to error

This commit is contained in:
Tommaso Cucinotta 2017-01-25 03:09:41 +01:00
parent 000832f9d9
commit eaa3ddaf45

View File

@ -293,10 +293,10 @@ bool Converters::checkAuth(Converter const & conv, string const & doc_fname)
from_utf8(conv.command()), from_utf8(conv.from()), from_utf8(conv.command()), from_utf8(conv.from()),
from_utf8(conv.to())); from_utf8(conv.to()));
if (lyxrc.use_converter_needauth_forbidden) { if (lyxrc.use_converter_needauth_forbidden) {
frontend::Alert::warning( frontend::Alert::error(
_("An external converter is disabled for security reasons"), _("An external converter is disabled for security reasons"),
security_warning + _( security_warning + _(
"<p>Your current settings forbid its execution.</p>" "<p><b>Your current preference settings forbid its execution.</b></p>"
"<p>(To change this setting, go to <i>Preferences &#x25b9; File " "<p>(To change this setting, go to <i>Preferences &#x25b9; File "
"Handling &#x25b9; Converters</i> and uncheck <i>Security &#x25b9; " "Handling &#x25b9; Converters</i> and uncheck <i>Security &#x25b9; "
"Forbid needauth converters</i>.)"), false); "Forbid needauth converters</i>.)"), false);