Commit f7e1114b authored by Alexandre Lision's avatar Alexandre Lision

call actions: fix iteration

Iterating over the UserActionModel actions was going one step too far.
It caused the ACCEPT button to be hidden for incoming calls.

Change-Id: Ia84ee0e86396cdca70268ebc2e90c3aefc2170c0
Tuleap: #199
parent fe5525ed
......@@ -112,7 +112,7 @@
- (void) updateAllActions
{
for(int i = 0 ; i <= CallModel::instance().userActionModel()->rowCount() ; i++) {
for (int i = 0 ; i < CallModel::instance().userActionModel()->rowCount() ; i++) {
[self updateActionAtIndex:i];
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment