[Scummvm-cvs-logs] SF.net SVN: scummvm:[41276] scummvm/trunk/gui/ListWidget.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Jun 6 19:58:29 CEST 2009


Revision: 41276
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41276&view=rev
Author:   sev
Date:     2009-06-06 17:58:29 +0000 (Sat, 06 Jun 2009)

Log Message:
-----------
Do not change list content if filter was not changed

Modified Paths:
--------------
    scummvm/trunk/gui/ListWidget.cpp

Modified: scummvm/trunk/gui/ListWidget.cpp
===================================================================
--- scummvm/trunk/gui/ListWidget.cpp	2009-06-06 17:58:08 UTC (rev 41275)
+++ scummvm/trunk/gui/ListWidget.cpp	2009-06-06 17:58:29 UTC (rev 41276)
@@ -548,6 +548,10 @@
 	filt = filter;
 
 	filt.toLowercase();
+
+	if (_filter == filt) // Filter was not changed
+		return;
+
 	_filter = filt;
 
 	if (_filter == "") {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list