QA: Use wxLogError() (not wxLogDebug()) in DisplayError[Message]()

This commit is contained in:
Mikolaj Wielgus 2022-08-09 20:57:49 +02:00
parent 574783bf70
commit 67d149ca73
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ void DisplayError( wxWindow* aParent, const wxString& aText, int aDisplayTime )
{
if( !wxTheApp || !wxTheApp->IsMainLoopRunning() )
{
wxLogDebug( "%s", aText );
wxLogError( "%s", aText );
return;
}
@ -300,7 +300,7 @@ void DisplayErrorMessage( wxWindow* aParent, const wxString& aText, const wxStri
{
if( !wxTheApp || !wxTheApp->IsMainLoopRunning() )
{
wxLogDebug( "%s %s", aText, aExtraInfo );
wxLogError( "%s %s", aText, aExtraInfo );
return;
}