clear avatar removes avatar now
This commit is contained in:
parent
f3cf1b1f66
commit
d88ca88a4a
|
@ -74,6 +74,7 @@ class Vcard_window:
|
|||
def on_clear_button_clicked(self, widget):
|
||||
# empty the image
|
||||
self.xml.get_widget('PHOTO_image').set_from_pixbuf(None)
|
||||
self.avatar_encoded = None
|
||||
|
||||
def image_is_ok(self, image):
|
||||
if not os.path.exists(image):
|
||||
|
|
Loading…
Reference in New Issue