fix(label): Bool operator should check tokenized field

This commit is contained in:
Michael Carlberg 2016-12-20 05:52:59 +01:00
parent cd31d92713
commit 6ef1721b61
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ namespace drawtypes {
}
label::operator bool() {
return !m_text.empty();
return !m_tokenized.empty();
}
label_t label::clone() {