42 """ |
42 """ |
43 Public slot handling the acceptance of the dialog. |
43 Public slot handling the acceptance of the dialog. |
44 """ |
44 """ |
45 from .BookmarkNode import BookmarkNode |
45 from .BookmarkNode import BookmarkNode |
46 |
46 |
47 if (self.__node.type() == BookmarkNode.Bookmark and \ |
47 if (self.__node.type() == BookmarkNode.Bookmark and |
48 not self.addressEdit.text()) or \ |
48 not self.addressEdit.text()) or \ |
49 not self.nameEdit.text(): |
49 not self.nameEdit.text(): |
50 super(BookmarkPropertiesDialog, self).accept() |
50 super(BookmarkPropertiesDialog, self).accept() |
51 return |
51 return |
52 |
52 |