dont draw Application/Title separator when empty

--If Application name or Window Title is empty then
the separator line between them should not be drawn
This commit is contained in:
Michail Vourlakos committed 2019-07-11 13:45:22 +03:00
1 parent 0913c7f900
commit abbcaa2a69
1 file changed
+1 -1
+1 -1
View File
@@ -219,7 +219,7 @@ GridLayout{
}
if (plasmoid.configuration.style === 2 || plasmoid.configuration.style === 3){ /*ApplicationTitle*/ /*OR*/ /*TitleApplication*/
if (activeTaskItem.appName !== activeTaskItem.title) {
if (activeTaskItem.appName !== activeTaskItem.title && activeTaskItem.appName !== "" && activeTaskItem.title !== "") {
return " - ";
}
}