diff -r 6b0a5f4923d3 -r 16a8ef1d82b2 mainwindow.cpp --- a/mainwindow.cpp Thu Sep 17 09:41:09 2009 +0000 +++ b/mainwindow.cpp Fri Oct 02 09:40:57 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()