Check if the m_effectsList is valid before we try to access it
This commit is contained in:
parent
159bccc2d5
commit
50dd943e7d
1 changed files with 2 additions and 1 deletions
|
@ -210,6 +210,7 @@ void EffectModel::handleDesktopSwitching(int row)
|
|||
|
||||
void EffectModel::handleWindowManagement(int row, bool enabled)
|
||||
{
|
||||
if (m_effectsList.size() > 0)
|
||||
m_effectsList[row].effectStatus = enabled;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue