Qt: Fix log prefix in log_frame

This commit is contained in:
Eladash 2021-11-16 10:02:43 +02:00 committed by GitHub
parent f6e04ffdd2
commit 6283600b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ struct gui_listener : logs::listener
packet_t p,* _new = &p;
_new->sev = msg;
if ((msg >= logs::level::fatal || show_prefix) && !prefix.empty())
if ((msg <= logs::level::fatal || show_prefix) && !prefix.empty())
{
_new->msg += "{";
_new->msg += prefix;