// if there is no category for reassignment left, we bail out
// if there is no category for reassignment left, we bail out
if(list.isEmpty()){
if(list.isEmpty()){
KMessageBox::sorry(this,TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").arg(category.name())+TQString("</qt>"));
KMessageBox::sorry(this,TQString("<qt>")+i18n("At least one transaction/schedule still references the category <b>%1</b>. However, at least one category with the same currency must exist so that the transactions/schedules can be reassigned.").arg(category.name())+TQString("</qt>"));
returnTQString();
returnTQString::null;
}
}
// execute dialog and if aborted, return empty string
// execute dialog and if aborted, return empty string