Workspace: respect the setting
This commit is contained in:
parent
c323985f03
commit
ab7c5678c6
1 changed files with 2 additions and 2 deletions
|
|
@ -161,11 +161,11 @@ Item {
|
|||
|
||||
Loader {
|
||||
anchors.centerIn: parent
|
||||
active: true
|
||||
active: Settings.data.bar.showWorkspacesNames
|
||||
sourceComponent: Component {
|
||||
Text {
|
||||
text: {
|
||||
if (Settings.data.bar.showWorkspacesNames && model.name && model.name.length > 0) {
|
||||
if (model.name && model.name.length > 0) {
|
||||
return model.name.substring(0, 2).toUpperCase()
|
||||
} else {
|
||||
return model.idx.toString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue