Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8
This commit is contained in:
parent
d07b3fb08b
commit
abdb5c5d74
1 changed files with 3 additions and 0 deletions
|
@ -296,6 +296,9 @@ void Selection::clear()
|
||||||
if (!m_valid)
|
if (!m_valid)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (m_list.empty())
|
||||||
|
return;
|
||||||
|
|
||||||
for (unsigned int i : m_list)
|
for (unsigned int i : m_list)
|
||||||
{
|
{
|
||||||
(*m_volumes)[i]->selected = false;
|
(*m_volumes)[i]->selected = false;
|
||||||
|
|
Loading…
Reference in a new issue