update ui

This commit is contained in:
arm64v8a
2023-06-05 14:34:15 +09:00
parent 1e9fa7eab4
commit 292a36eefb
18 changed files with 237 additions and 162 deletions

View File

@@ -25,6 +25,11 @@ void EditChain::onStart(std::shared_ptr<NekoGui::ProxyEntity> _ent) {
}
bool EditChain::onEnd() {
if (get_edit_text_name().isEmpty()) {
MessageBoxWarning(software_name, tr("Name cannot be empty."));
return false;
}
auto bean = this->ent->ChainBean();
QList<int> idList;