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:
parent
cd31d92713
commit
6ef1721b61
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace drawtypes {
|
|||
}
|
||||
|
||||
label::operator bool() {
|
||||
return !m_text.empty();
|
||||
return !m_tokenized.empty();
|
||||
}
|
||||
|
||||
label_t label::clone() {
|
||||
|
|
Loading…
Reference in a new issue