def OnDeleteTabs(self, event):
        """Deletes tables"""

        with undo.group(_("Delete table")):
            self.grid.actions.delete_tabs(self.grid.current_table, 1)

        self.grid.GetTable().ResetView()
        self.grid.actions.zoom()

        event.Skip()
Deletes tables