QTfrontend/ui/page/pageeditteam.cpp
changeset 14899 4d5df8d35a95
parent 14839 e239378a9400
child 14934 0ec0ed2d9045
equal deleted inserted replaced
14898:4596357d002d 14899: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 }