[rkward-cvs] SF.net SVN: rkward: [872] trunk/rkward/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Tue Oct 17 11:41:53 UTC 2006


Revision: 872
          http://svn.sourceforge.net/rkward/?rev=872&view=rev
Author:   tfry
Date:     2006-10-17 04:41:49 -0700 (Tue, 17 Oct 2006)

Log Message:
-----------
Don't add empty urls to recent files list

Modified Paths:
--------------
    trunk/rkward/rkward/rkward.cpp
    trunk/rkward/rkward/rkward.h

Modified: trunk/rkward/rkward/rkward.cpp
===================================================================
--- trunk/rkward/rkward/rkward.cpp	2006-10-17 11:10:40 UTC (rev 871)
+++ trunk/rkward/rkward/rkward.cpp	2006-10-17 11:41:49 UTC (rev 872)
@@ -2,7 +2,7 @@
                           rkward.cpp  -  description
                              -------------------
     begin                : Tue Oct 29 20:06:08 CET 2002
-    copyright            : (C) 2002 by Thomas Friedrichsmeier 
+    copyright            : (C) 2002, 2005, 2006 by Thomas Friedrichsmeier 
     email                : tfry at users.sourceforge.net
  ***************************************************************************/
 
@@ -639,7 +639,7 @@
 	RK_TRACE (APP);
 
 	if (RKWorkplace::mainWorkplace ()->openScriptEditor (url)) {
-		fileOpenRecent->addURL (url);
+		if (!url.isEmpty ()) fileOpenRecent->addURL (url);
 	}
 };
 

Modified: trunk/rkward/rkward/rkward.h
===================================================================
--- trunk/rkward/rkward/rkward.h	2006-10-17 11:10:40 UTC (rev 871)
+++ trunk/rkward/rkward/rkward.h	2006-10-17 11:41:49 UTC (rev 872)
@@ -2,7 +2,7 @@
 			rkward.h  -  description
 			-------------------
 begin                : Tue Oct 29 20:06:08 CET 2002 
-copyright            : (C) 2002 by Thomas Friedrichsmeier 
+copyright            : (C) 2002, 2005, 2006 by Thomas Friedrichsmeier 
 email                : tfry at users.sourceforge.net
 ***************************************************************************/
 


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




More information about the rkward-tracker mailing list