From 446c2cdd7d4ae10cb05d6362f5de7ff2f778168d Mon Sep 17 00:00:00 2001 From: stephena Date: Sun, 9 Oct 2005 20:49:57 +0000 Subject: [PATCH] Made sure ListWidget can take advantage of the new line editing functions in EditableWidget. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@817 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/gui/ListWidget.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/stella/src/gui/ListWidget.cxx b/stella/src/gui/ListWidget.cxx index ed5a3a4eb..254a19721 100644 --- a/stella/src/gui/ListWidget.cxx +++ b/stella/src/gui/ListWidget.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: ListWidget.cxx,v 1.35 2005-09-30 22:12:18 stephena Exp $ +// $Id: ListWidget.cxx,v 1.36 2005-10-09 20:49:57 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -219,9 +219,8 @@ static bool matchingCharsIgnoringCase(string s, string pattern) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - bool ListWidget::handleKeyDown(int ascii, int keycode, int modifiers) { - // Ignore all mod keys - if(instance()->eventHandler().kbdControl(modifiers) || - instance()->eventHandler().kbdAlt(modifiers)) + // Ignore all Alt-mod keys + if(instance()->eventHandler().kbdAlt(modifiers)) return true; bool handled = true;