mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-11-11 23:34:06 -06:00
Fix crash when deleting multiple macros in combination with a group
This commit is contained in:
@@ -231,6 +231,10 @@ static inline int
|
||||
MacroIndexToModelIndex(int realIdx,
|
||||
const std::deque<std::shared_ptr<Macro>> ¯os)
|
||||
{
|
||||
if (realIdx == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
int modelIdx = 0;
|
||||
bool inCollapsedGroup = false;
|
||||
uint32_t groupSize = 0;
|
||||
|
||||
Reference in New Issue
Block a user