1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-11 13:50:56 -05:00

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() {