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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Thu Jan 4 16:06:21 UTC 2007


Revision: 1061
          http://svn.sourceforge.net/rkward/?rev=1061&view=rev
Author:   tfry
Date:     2007-01-04 08:06:20 -0800 (Thu, 04 Jan 2007)

Log Message:
-----------
Force khtmlpart to reload images

Modified Paths:
--------------
    trunk/rkward/ChangeLog
    trunk/rkward/rkward/windows/rkhtmlwindow.cpp

Modified: trunk/rkward/ChangeLog
===================================================================
--- trunk/rkward/ChangeLog	2007-01-04 12:09:38 UTC (rev 1060)
+++ trunk/rkward/ChangeLog	2007-01-04 16:06:20 UTC (rev 1061)
@@ -6,6 +6,7 @@
 	- Always show all top level menus
 	- new function rk.results () for use in plugins
 
+- fix: the output window would not refresh changed plot images (unless closed and reopened)
 - fix several minor issues as identified by the "krazy" source code checker
 - allow varslots to request objects of specified dimensionality and length
 - fixed: integer spinboxes with starting values greater than 1 would get unreasonable change steps

Modified: trunk/rkward/rkward/windows/rkhtmlwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rkhtmlwindow.cpp	2007-01-04 12:09:38 UTC (rev 1060)
+++ trunk/rkward/rkward/windows/rkhtmlwindow.cpp	2007-01-04 16:06:20 UTC (rev 1061)
@@ -232,6 +232,7 @@
 	QFileInfo out_file (url.path ());
 	bool ok = out_file.exists();
 	if (ok)  {
+		khtmlpart->browserExtension ()->setURLArgs (KParts::URLArgs (true, 0, 0));	// this forces the next openURL to reload all images
 		RKHTMLWindow::openURL (url);
 		last_refresh_time = out_file.lastModified ();
 	} else {


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