Skip to content

Commit c6174cd

Browse files
committed
fix: make document name optional and remove name check
1 parent ac2a54f commit c6174cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arho_feature_template/gui/components/plan_document_widget.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ def __init__(self, document: Document, parent=None):
123123

124124
def is_ok(self) -> bool:
125125
return (
126-
self.name.text() != ""
127-
and self.document_type.value() is not None
126+
self.document_type.value() is not None
128127
and self.publicity.value() is not None
129128
and self.language.value() is not None
130129
and self.retention_time.value() is not None

0 commit comments

Comments
 (0)