|
@@ -109,7 +109,7 @@ void __fastcall SetOnForeground(bool OnForeground)
|
|
|
void __fastcall FlashOnBackground()
|
|
|
{
|
|
|
DebugAssert(Application);
|
|
|
- if (WinConfiguration->FlashTaskbar && !ForcedOnForeground && !ForegroundTask())
|
|
|
+ if ((WinConfiguration != NULL) && WinConfiguration->FlashTaskbar && !ForcedOnForeground && !ForegroundTask())
|
|
|
{
|
|
|
FlashWindow(Application->MainFormHandle, true);
|
|
|
}
|