QTfrontend/ui/widget/gamecfgwidget.cpp
changeset 10336 3edfa6b68407
parent 10151 8fc1459a9f54
child 10399 22fbc79acd5b
equal deleted inserted replaced
10335:d56b4c109abb 10336:3edfa6b68407
   400     scriptChanged(Scripts->currentIndex());
   400     scriptChanged(Scripts->currentIndex());
   401 
   401 
   402     mapgenChanged(pMapContainer->get_mapgen());
   402     mapgenChanged(pMapContainer->get_mapgen());
   403     maze_sizeChanged(pMapContainer->getMazeSize());
   403     maze_sizeChanged(pMapContainer->getMazeSize());
   404 
   404 
       
   405     if(pMapContainer->get_mapgen() == 2)
       
   406         onDrawnMapChanged(pMapContainer->getDrawnMapData());
       
   407 
   405     // map must be the last
   408     // map must be the last
   406     QString map = pMapContainer->getCurrentMap();
   409     QString map = pMapContainer->getCurrentMap();
   407     if (map.size())
   410     if (map.size())
   408         mapChanged(map);
   411         mapChanged(map);
   409 }
   412 }