QTfrontend/gamecfgwidget.cpp
changeset 3009 8f4e6de8e4ef
parent 3008 e57cafce4227
child 3010 3aa3675d97eb
equal deleted inserted replaced
3008:e57cafce4227 3009:8f4e6de8e4ef
   244         );
   244         );
   245 }
   245 }
   246 
   246 
   247 void GameCFGWidget::mapChanged(const QString & value)
   247 void GameCFGWidget::mapChanged(const QString & value)
   248 {
   248 {
   249     if(pMapContainer->getCurrentIsMission())
   249     GameSchemes->setEnabled(pMapContainer->getCurrentIsMission());
   250     {
   250     WeaponsName->setEnabled(pMapContainer->getCurrentIsMission());
   251         GameSchemes->setCurrentIndex(0);
       
   252         WeaponsName->setCurrentIndex(0);
       
   253         GameSchemes->setEnabled(false);
       
   254         WeaponsName->setEnabled(false);
       
   255     }
       
   256     else
       
   257     {
       
   258         GameSchemes->setEnabled(true);
       
   259         WeaponsName->setEnabled(true);
       
   260     }
       
   261     emit paramChanged("MAP", QStringList(value));
   251     emit paramChanged("MAP", QStringList(value));
   262 }
   252 }
   263 
   253 
   264 void GameCFGWidget::templateFilterChanged(int value)
   254 void GameCFGWidget::templateFilterChanged(int value)
   265 {
   255 {