Bring old 'quick search' behavior of games list back.

svn-id: r41296
This commit is contained in:
Eugene Sandulenko 2009-06-06 19:20:39 +00:00
parent efc5fc0c8c
commit e8463ff1d2

View File

@ -529,7 +529,6 @@ LauncherDialog::LauncherDialog()
_list = new ListWidget(this, "Launcher.GameList", kListSearchCmd);
_list->setEditable(false);
_list->setNumberingMode(kListNumberingOff);
_list->enableQuickSelect(false);
// Populate the list
@ -929,11 +928,6 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
case kSearchCmd:
_list->setFilter(_searchWidget->getEditString());
break;
case kListSearchCmd:
_searchWidget->setEditString(_list->getQuickSelectString());
_searchWidget->draw();
_list->setFilter(_list->getQuickSelectString());
break;
default:
Dialog::handleCommand(sender, cmd, data);
}