[rkward-cvs] SF.net SVN: rkward: [1907] trunk/rkward/rkward/plugin/rkpreviewbox.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed May 16 17:00:54 UTC 2007


Revision: 1907
          http://svn.sourceforge.net/rkward/?rev=1907&view=rev
Author:   tfry
Date:     2007-05-16 10:00:54 -0700 (Wed, 16 May 2007)

Log Message:
-----------
A preview should not be attempted, when the preview box is disabled

Modified Paths:
--------------
    trunk/rkward/rkward/plugin/rkpreviewbox.cpp

Modified: trunk/rkward/rkward/plugin/rkpreviewbox.cpp
===================================================================
--- trunk/rkward/rkward/plugin/rkpreviewbox.cpp	2007-05-16 16:56:15 UTC (rev 1906)
+++ trunk/rkward/rkward/plugin/rkpreviewbox.cpp	2007-05-16 17:00:54 UTC (rev 1907)
@@ -104,7 +104,7 @@
 void RKPreviewBox::tryPreview () {
 	RK_TRACE (PLUGIN);
 
-	if (toggle_preview_box->isChecked ()) update_timer->start (10, true);
+	if (isEnabled () && toggle_preview_box->isChecked ()) update_timer->start (10, true);
 	else killPreview ();
 
 	updateStatusLabel ();


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