Strip out the SECURE flag in metrics UI so message style is detected
This commit is contained in:
parent
83561c9cb3
commit
e698459ec8
|
@ -72,6 +72,9 @@ static bool metrics_ThreadSafeMessageBox(const std::string& message,
|
|||
const std::string& caption,
|
||||
unsigned int style)
|
||||
{
|
||||
// The SECURE flag has no effect in the metrics UI.
|
||||
style &= ~CClientUIInterface::SECURE;
|
||||
|
||||
std::string strCaption;
|
||||
// Check for usage of predefined caption
|
||||
switch (style) {
|
||||
|
|
Loading…
Reference in New Issue