[f-spot/FSPOT_0_6_0_STABLE] Fixes #598009



commit ea48e3582b26302d7796e868997182029dfa6662
Author: Jordi Mas <jmas softcatala org>
Date:   Fri Oct 16 15:30:49 2009 +0200

    Fixes #598009

 src/UI.Dialog/LastRollDialog.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/UI.Dialog/LastRollDialog.cs b/src/UI.Dialog/LastRollDialog.cs
index 9495e73..e34f58f 100644
--- a/src/UI.Dialog/LastRollDialog.cs
+++ b/src/UI.Dialog/LastRollDialog.cs
@@ -52,7 +52,7 @@ namespace FSpot.UI.Dialog {
 			if (args.ResponseId == ResponseType.Ok) {
 				Roll [] selected_rolls = SelectedRolls ();
 				
-				if (selected_rolls.Length > 0 )
+				if (selected_rolls != null && selected_rolls.Length > 0 )
 					query.RollSet = new RollSet (selected_rolls);
 			}
 			Dialog.Destroy ();



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