Fix a problem using a singular iterator.
This commit is contained in:
parent
010a38ebbf
commit
b8ee30a86b
1 changed files with 4 additions and 0 deletions
|
@ -235,6 +235,10 @@ void side_actions::hide()
|
|||
|
||||
hidden_ = true;
|
||||
|
||||
if(empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
foreach(action_ptr act, *this)
|
||||
act->hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue