Fix a problem using a singular iterator.

This commit is contained in:
Mark de Wever 2011-08-30 19:41:25 +00:00
parent 010a38ebbf
commit b8ee30a86b

View file

@ -235,6 +235,10 @@ void side_actions::hide()
hidden_ = true;
if(empty()) {
return;
}
foreach(action_ptr act, *this)
act->hide();
}