mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-13 21:26:42 -05:00
Fix crash when deleting multiple macros in combination with a group
This commit is contained in:
parent
e465c81bf1
commit
e194fc5ee4
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user