f-spot r4252 - in trunk: . src/Editors



Author: rubenv
Date: Wed Aug 13 12:04:42 2008
New Revision: 4252
URL: http://svn.gnome.org/viewvc/f-spot?rev=4252&view=rev

Log:
2008-08-13  Ruben Vermeersch  <ruben savanne be>

	* src/Editors/CropEditor.cs: Avoid a crasher on instant-apply.


Modified:
   trunk/ChangeLog
   trunk/src/Editors/CropEditor.cs

Modified: trunk/src/Editors/CropEditor.cs
==============================================================================
--- trunk/src/Editors/CropEditor.cs	(original)
+++ trunk/src/Editors/CropEditor.cs	Wed Aug 13 12:04:42 2008
@@ -107,7 +107,8 @@
 
 		public void UpdateSelectionCombo ()
 		{
-			if (!StateInitialized)
+			if (!StateInitialized || constraints_combo == null)
+				// Don't bomb out on instant-apply.
 				return;
 
 			//constraints_combo.Active = 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]