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

View File

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