mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed Group bangs for skins
This commit is contained in:
parent
5ac6f94f3b
commit
c1c4256a68
@ -299,13 +299,12 @@ void CRainmeter::BangGroupWithArgs(BANGCOMMAND bang, std::vector<std::wstring>&
|
|||||||
std::multimap<int, CMeterWindow*> windows;
|
std::multimap<int, CMeterWindow*> windows;
|
||||||
GetMeterWindowsByLoadOrder(windows, args[numOfArgs]);
|
GetMeterWindowsByLoadOrder(windows, args[numOfArgs]);
|
||||||
|
|
||||||
|
args.resize(numOfArgs); // Remove extra parameters (including group)
|
||||||
|
|
||||||
std::multimap<int, CMeterWindow*>::const_iterator iter = windows.begin();
|
std::multimap<int, CMeterWindow*>::const_iterator iter = windows.begin();
|
||||||
args.push_back(std::wstring());
|
|
||||||
std::wstring& lastArg = args.back();
|
|
||||||
for (; iter != windows.end(); ++iter)
|
for (; iter != windows.end(); ++iter)
|
||||||
{
|
{
|
||||||
lastArg = (*iter).second->GetSkinName();
|
BangWithArgs(bang, args, numOfArgs, (*iter).second);
|
||||||
BangWithArgs(bang, args, numOfArgs, meterWindow);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user