1.1 --- a/mainwindow.cpp Mon Mar 05 23:22:51 2007 +0000
1.2 +++ b/mainwindow.cpp Tue Mar 06 19:37:39 2007 +0000
1.3 @@ -3429,12 +3429,15 @@
1.4 actionViewToggleNoteEditor->setOn (false);
1.5 }
1.6
1.7 -void Main::runScript (QString script)
1.8 +void Main::setScript (const QString &script)
1.9 +{
1.10 + scriptEditor->setScript (script);
1.11 +}
1.12 +
1.13 +void Main::runScript (const QString &script)
1.14 {
1.15 if (currentMapEditor())
1.16 currentMapEditor()->runScript (script);
1.17 -
1.18 -
1.19 }
1.20
1.21 void Main::showPropertyDialog()