Enable yank-pop.

        This method is connected to the 'yank-qtmacs_text_edit' hook
        (triggered by the yank macro) to ensure that yank-pop only
        gets activated afterwards.

def enableHook(self, msgObj):
        """
        Enable yank-pop.

        This method is connected to the 'yank-qtmacs_text_edit' hook
        (triggered by the yank macro) to ensure that yank-pop only
        gets activated afterwards.
        """
        self.killListIdx = len(qte_global.kill_list) - 2
        self.qteMain.qtesigKeyseqComplete.connect(self.disableHook)