mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed crash when the config is switched to the variant.
This commit is contained in:
@ -511,14 +511,6 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
}
|
||||
else
|
||||
{
|
||||
if (configs[i].active != 0)
|
||||
{
|
||||
CMeterWindow* meterWindow = Rainmeter->GetMeterWindow(configs[i].config);
|
||||
if (meterWindow)
|
||||
{
|
||||
Rainmeter->DeactivateConfig(meterWindow, i);
|
||||
}
|
||||
}
|
||||
Rainmeter->ActivateConfig(i, j);
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user