Skip to content

Commit

Permalink
從設定檔載入時,若欄位設定內容為空,仍應呼叫StrToCell(); 不考慮此時使用預設值!
Browse files Browse the repository at this point in the history
  • Loading branch information
fonwin committed May 29, 2023
1 parent 2d74342 commit 5a5099c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fon9/seed/ConfigGridView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 49,6 @@ void GridViewToContainer::ParseConfigStr(StrView cfgstr) {
}
void GridViewToContainer::FillRaw(const RawWr& wr, StrView ln) {
for (const Field* fld : this->Fields_) {
if (ln.empty())
break;
StrView fldval = StrFetchNoTrim(ln, *fon9_kCSTR_CELLSPL);
if (fld)
fld->StrToCell(wr, fldval);
Expand Down

0 comments on commit 5a5099c

Please sign in to comment.