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 {
|
Loader {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
active: true
|
active: Settings.data.bar.showWorkspacesNames
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
Text {
|
Text {
|
||||||
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()
|
return model.name.substring(0, 2).toUpperCase()
|
||||||
} else {
|
} else {
|
||||||
return model.idx.toString()
|
return model.idx.toString()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue