author | unc0rr |
Sat, 01 Mar 2014 23:37:59 +0400 | |
changeset 10170 | db625d96da73 |
parent 10168 | a2bf14203883 (current diff) |
parent 10169 | 532f4537a6ae (diff) |
child 10171 | 00f41ff0bf2d |
--- a/QTfrontend/ui/widget/mapContainer.cpp Sat Mar 01 23:37:01 2014 +0400 +++ b/QTfrontend/ui/widget/mapContainer.cpp Sat Mar 01 23:37:59 2014 +0400 @@ -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)