(self)
Delete selected Items
Delete selected Items
Delete selected Items
def delete_items(self):
        """ Delete selected Items
        """
        index = self._bookmarks_list.selectionModel().currentIndex().row()
        if index != -1:
            self._on_delete_bookmark(index)
            self._bookmarks_model.removeRow(index)
def delete_items ( self ) : index = self . _bookmarks_list . selectionModel ( ) . currentIndex ( ) . row ( ) if index != - 1 : self . _on_delete_bookmark ( index ) self . _bookmarks_model . removeRow ( index )