diff --git a/Bar/Modules/Workspace.qml b/Bar/Modules/Workspace.qml index 7d2f788..8140d43 100644 --- a/Bar/Modules/Workspace.qml +++ b/Bar/Modules/Workspace.qml @@ -188,7 +188,7 @@ Item { anchors.fill: parent cursorShape: Qt.PointingHandCursor onClicked: { - WorkspaceManager.switchToWorkspace(model.id); + WorkspaceManager.switchToWorkspace(model.idx); } z: 20 hoverEnabled: true diff --git a/Settings/Settings.qml b/Settings/Settings.qml index af52ca3..fb471d6 100644 --- a/Settings/Settings.qml +++ b/Settings/Settings.qml @@ -28,7 +28,9 @@ Singleton { reload() } onLoaded: function() { - WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true); + Qt.callLater(function () { + WallpaperManager.setCurrentWallpaper(settings.currentWallpaper, true); + }) } onLoadFailed: function(error) { settingAdapter = {}