def resizeEvent(self, event):
        """
        Overloads the resize event to control if we are still editing.
        
        If we are resizing, then we are no longer editing.
        """
        curr_item = self.currentItem()
        self.closePersistentEditor(curr_item)
        
        super(XMultiTagEdit, self).resizeEvent(event)