1.1 --- a/mainwindow.cpp Fri Nov 13 08:32:03 2009 +0000
1.2 +++ b/mainwindow.cpp Mon Nov 16 09:47:10 2009 +0000
1.3 @@ -3669,10 +3669,9 @@
1.4
1.5 void Main::testFunction1()
1.6 {
1.7 + if (!currentMapEditor()) return;
1.8 + currentMapEditor()->testFunction1();
1.9 /*
1.10 - if (!currentMapEditor()) return;
1.11 - //currentMapEditor()->testFunction1();
1.12 -*/
1.13
1.14 VymModel *m=currentModel();
1.15 if (!m) return;
1.16 @@ -3684,6 +3683,7 @@
1.17 if ( ok)
1.18 // user entered something and pressed OK
1.19 m->setSortFilter (text);
1.20 +*/
1.21 }
1.22
1.23 void Main::testFunction2()