[Scummvm-cvs-logs] CVS: scummvm/gui browser.cpp,1.22,1.23
Max Horn
fingolfin at users.sourceforge.net
Sun Nov 21 05:45:48 CET 2004
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16432
Modified Files:
browser.cpp
Log Message:
Fixed behaviour of return key in the file browser
Index: browser.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/browser.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- browser.cpp 20 Nov 2004 21:35:49 -0000 1.22
+++ browser.cpp 21 Nov 2004 13:39:54 -0000 1.23
@@ -140,6 +140,7 @@
// Add file list
_fileList = new ListWidget(this, 10, 34, _w - 2 * 10, _h - 34 - 24 - 10);
_fileList->setNumberingMode(kListNumberingOff);
+ _fileList->setEditable(false);
// Buttons
addButton(10, _h - 24, "Go up", kGoUpCmd, 0);
@@ -180,6 +181,7 @@
_node = _node.getParent();
updateListing();
break;
+ case kListItemActivatedCmd:
case kListItemDoubleClickedCmd:
_node = _nodeContent[data];
updateListing();
More information about the Scummvm-git-logs
mailing list