Skip to content
Snippets Groups Projects
Commit d88ca88a authored by nkour's avatar nkour
Browse files

clear avatar removes avatar now

parent f3cf1b1f
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment