equal
deleted
inserted
replaced
406 } |
406 } |
407 |
407 |
408 void HWMapContainer::setScript(const QString & script) |
408 void HWMapContainer::setScript(const QString & script) |
409 { |
409 { |
410 m_script = script; |
410 m_script = script; |
411 askForGeneratedPreview(); |
411 if ((m_mapInfo.type == MapModel::GeneratedMap) || (m_mapInfo.type == MapModel::GeneratedMaze) || (m_mapInfo.type == MapModel::HandDrawnMap)) |
|
412 updatePreview(); |
412 } |
413 } |
413 |
414 |
414 void HWMapContainer::intSetMap(const QString & map) |
415 void HWMapContainer::intSetMap(const QString & map) |
415 { |
416 { |
416 if (map == "+rnd+") |
417 if (map == "+rnd+") |