Fixing mistake when emty

This commit is contained in:
Teebonne 2022-09-09 22:55:56 +01:00 committed by GitHub
parent 6a80d7666b
commit b4de5fee16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -504,8 +504,8 @@ void cell::error(const std::string &error)
{ {
throw invalid_data_type(); throw invalid_data_type();
} }
d_->value_text_ = error;
d_->value_text_.get().plain_text(error, false); d_->value_text_.get().plain_text(error, false);
d_->type_ = type::error; d_->type_ = type::error;
} }