changeset 10169 | 532f4537a6ae |
parent 10161 | c092f92aee23 |
child 10171 | 00f41ff0bf2d |
--- a/QTfrontend/ui/widget/mapContainer.cpp Sat Mar 01 13:59:12 2014 -0500 +++ b/QTfrontend/ui/widget/mapContainer.cpp Sat Mar 01 14:37:06 2014 -0500 @@ -408,8 +408,7 @@ void HWMapContainer::setScript(const QString & script) { m_script = script; - if ((m_mapInfo.type == MapModel::GeneratedMap) || (m_mapInfo.type == MapModel::GeneratedMaze)) - updatePreview(); + askForGeneratedPreview(); } void HWMapContainer::intSetMap(const QString & map)