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