fix(label): Bool operator should check tokenized field
This commit is contained in:
parent
cd31d92713
commit
6ef1721b61
@ -11,7 +11,7 @@ namespace drawtypes {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label::operator bool() {
|
label::operator bool() {
|
||||||
return !m_text.empty();
|
return !m_tokenized.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
label_t label::clone() {
|
label_t label::clone() {
|
||||||
|
Loading…
Reference in New Issue
Block a user