diff -r 14f2b1b15242 -r fc7a93ff97c3 mainwindow.cpp --- a/mainwindow.cpp Fri Nov 13 08:32:03 2009 +0000 +++ b/mainwindow.cpp Mon Nov 16 09:47:10 2009 +0000 @@ -3669,10 +3669,9 @@ void Main::testFunction1() { + if (!currentMapEditor()) return; + currentMapEditor()->testFunction1(); /* - if (!currentMapEditor()) return; - //currentMapEditor()->testFunction1(); -*/ VymModel *m=currentModel(); if (!m) return; @@ -3684,6 +3683,7 @@ if ( ok) // user entered something and pressed OK m->setSortFilter (text); +*/ } void Main::testFunction2()