[tasque/transition: 109/213] Fix Category.Name.Setter never sets value
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/transition: 109/213] Fix Category.Name.Setter never sets value
- Date: Wed, 29 Aug 2012 18:43:11 +0000 (UTC)
commit e762d81d8307b594d43fc7fbdb9398765c3fb262
Author: Antonius Riha <antoniusriha gmail com>
Date: Thu Aug 16 13:55:37 2012 +0200
Fix Category.Name.Setter never sets value
src/libtasque/Category.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtasque/Category.cs b/src/libtasque/Category.cs
index 0b2037b..b4a92f3 100644
--- a/src/libtasque/Category.cs
+++ b/src/libtasque/Category.cs
@@ -41,7 +41,7 @@ namespace Tasque
if (value == null)
throw new ArgumentNullException ("name");
- if (value == name) {
+ if (value != name) {
name = value;
OnNameChanged ();
OnPropertyChanged ("Name");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]