Update text to 'None' when disabling mood.
This commit is contained in:
parent
48c1be3152
commit
0f17f4dfec
|
@ -507,6 +507,7 @@ class ChangeMoodDialog:
|
||||||
self.label.set_text(_(data.replace('_', ' ')))
|
self.label.set_text(_(data.replace('_', ' ')))
|
||||||
self.entry.set_sensitive(True)
|
self.entry.set_sensitive(True)
|
||||||
else:
|
else:
|
||||||
|
self.label.set_text(_('None'))
|
||||||
self.entry.set_text('')
|
self.entry.set_text('')
|
||||||
self.entry.set_sensitive(False)
|
self.entry.set_sensitive(False)
|
||||||
self.mood = data
|
self.mood = data
|
||||||
|
|
Loading…
Reference in New Issue