QTfrontend/ui/page/pageeditteam.cpp
changeset 14920 4d5df8d35a95
parent 14860 e239378a9400
child 14955 0ec0ed2d9045
equal deleted inserted replaced
14919:4596357d002d 14920:4d5df8d35a95
   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 }