(self)
Delete shot from database, update UI
Delete shot from database, update UI
Delete shot from database update UI
def del_asset(self):
        """
        Delete shot from database, update UI
        """

        # Notify user about delete
        warning = Warnings(self.selected_asset.name)
        if warning.exec_():
            self.model_assets.layoutAboutToBeChanged.emit()
            self.eve_data.del_asset(self.selected_asset.id)
            self.model_assets.layoutChanged.emit()
def del_asset ( self ) : # Notify user about delete warning = Warnings ( self . selected_asset . name ) if warning . exec_ ( ) : self . model_assets . layoutAboutToBeChanged . emit ( ) self . eve_data . del_asset ( self . selected_asset . id ) self . model_assets . layoutChanged . emit ( )