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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Dec 5 19:28:45 UTC 2010


Revision: 3225
          http://rkward.svn.sourceforge.net/rkward/?rev=3225&view=rev
Author:   tfry
Date:     2010-12-05 19:28:44 +0000 (Sun, 05 Dec 2010)

Log Message:
-----------
Fix jumping cursor in filename widget.

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/misc/getfilenamewidget.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2010-12-05 18:49:56 UTC (rev 3224)
+++ trunk/rkward/ChangeLog	2010-12-05 19:28:44 UTC (rev 3225)
@@ -1,3 +1,4 @@
+- Fixed: Cursor would keep jumping to the end, when typing a filename in the filename selection field in plugins
 - Fixed: Submit button would not become enabled in "Basic Statistics" plugin
 - Moved automated testing framework moved to a dedicated R package "rkwardtests", and added documentation
 - Support pasting to the middle of the current command line in the R Console

Modified: trunk/rkward/rkward/misc/getfilenamewidget.cpp
===================================================================
--- trunk/rkward/rkward/misc/getfilenamewidget.cpp	2010-12-05 18:49:56 UTC (rev 3224)
+++ trunk/rkward/rkward/misc/getfilenamewidget.cpp	2010-12-05 19:28:44 UTC (rev 3225)
@@ -2,7 +2,7 @@
                           getfilenamewidget  -  description
                              -------------------
     begin                : Tue Aug 24 2004
-    copyright            : (C) 2004, 2007, 2009 by Thomas Friedrichsmeier
+    copyright            : (C) 2004, 2007, 2009, 2010 by Thomas Friedrichsmeier
     email                : tfry at users.sourceforge.net
  ***************************************************************************/
 
@@ -70,7 +70,7 @@
 void GetFileNameWidget::setLocation (const QString &new_location) {
 	RK_TRACE (MISC);
 
-	edit->setUrl (new_location);
+	if (edit->text () != new_location) edit->setUrl (new_location);
 }
 
 void GetFileNameWidget::locationEditChanged (const QString &) {


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