mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-07 12:25:15 +00:00
fix(bar): resolve 'Show workspace numbers only when occupied' setting
- Fix workspace number container visibility logic to properly reference container.hasWindows - The 'hasWindows' property was not in scope for workspaceNumberContainer - Workspace numbers now correctly hide when workspace has no windows and setting is enabled - Fixes toggle functionality for 'show-numbers-only-when-occupied' setting
This commit is contained in:
@@ -158,7 +158,7 @@ Item {
|
||||
Item {
|
||||
id: workspaceNumberContainer
|
||||
|
||||
visible: root.showWorkspaceNumbers && (!root.showNumbersOnlyWhenOccupied || hasWindows)
|
||||
visible: root.showWorkspaceNumbers && (!root.showNumbersOnlyWhenOccupied || container.hasWindows)
|
||||
|
||||
anchors {
|
||||
left: parent.left
|
||||
|
||||
@@ -3,7 +3,6 @@ import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import qs.Commons
|
||||
import qs.Widgets
|
||||
import qs.Services
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
||||
Reference in New Issue
Block a user