tasque r70 - in trunk: . src
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tasque r70 - in trunk: . src
- Date: Sat, 7 Jun 2008 14:05:19 +0000 (UTC)
Author: sharm
Date: Sat Jun 7 14:05:19 2008
New Revision: 70
URL: http://svn.gnome.org/viewvc/tasque?rev=70&view=rev
Log:
* src/TaskTreeView.cs: Prevent crash when double-clicking date widget.
Fixes bug #525282.
Modified:
trunk/ChangeLog
trunk/src/TaskTreeView.cs
Modified: trunk/src/TaskTreeView.cs
==============================================================================
--- trunk/src/TaskTreeView.cs (original)
+++ trunk/src/TaskTreeView.cs Sat Jun 7 14:05:19 2008
@@ -574,6 +574,11 @@
/// </param>
void OnDateEdited (object sender, Gtk.EditedArgs args)
{
+ if (args.NewText == null) {
+ Logger.Debug ("New date text null, not setting date");
+ return;
+ }
+
Gtk.TreeIter iter;
Gtk.TreePath path = new TreePath (args.Path);
if (Model.GetIter (out iter, path) == false)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]