diff -r 2c42ad499ac3 -r 959bd133cd1a mainwindow.cpp --- a/mainwindow.cpp Thu Oct 01 11:48:58 2009 +0000 +++ b/mainwindow.cpp Thu Oct 01 13:23:20 2009 +0000 @@ -3605,12 +3605,19 @@ void Main::testFunction1() { if (!currentMapEditor()) return; - currentMapEditor()->testFunction1(); + //currentMapEditor()->testFunction1(); /* + */ VymModel *m=currentModel(); if (!m) return; - m->clearItem (m->getSelectedItem()); - */ + + bool ok; + QString text = QInputDialog::getText( + "VYM", "Enter Filter:", QLineEdit::Normal, // FIXME-3 no translation yet + m->getSortFilter(), &ok, NULL); + if ( ok) + // user entered something and pressed OK + m->setSortFilter (text); } void Main::testFunction2()