equal
deleted
inserted
replaced
603 if(mdl.size() == 1) |
603 if(mdl.size() == 1) |
604 binder->setBindIndex(i, mdl[0].row()); |
604 binder->setBindIndex(i, mdl[0].row()); |
605 else |
605 else |
606 qDebug() << "Binds: cannot find" << team.keyBind(i); |
606 qDebug() << "Binds: cannot find" << team.keyBind(i); |
607 } |
607 } |
|
608 binder->checkConflicts(); |
608 } |
609 } |
609 |
610 |
610 HWTeam PageEditTeam::data() |
611 HWTeam PageEditTeam::data() |
611 { |
612 { |
612 HWTeam team(OldTeamName); |
613 HWTeam team(OldTeamName); |
676 // When the "Use default for all binds" is pressed... |
677 // When the "Use default for all binds" is pressed... |
677 void PageEditTeam::resetAllBinds() |
678 void PageEditTeam::resetAllBinds() |
678 { |
679 { |
679 for (int i = 0; i < BINDS_NUMBER; i++) |
680 for (int i = 0; i < BINDS_NUMBER; i++) |
680 binder->setBindIndex(i, 0); |
681 binder->setBindIndex(i, 0); |
681 } |
682 binder->checkConflicts(); |
|
683 } |