Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/FolderViewLayer.qml
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 27 | Item { | |||
---|---|---|---|---|---|
58 | } | 58 | } | ||
59 | 59 | | |||
60 | function cancelRename() { | 60 | function cancelRename() { | ||
61 | folderView.cancelRename(); | 61 | folderView.cancelRename(); | ||
62 | } | 62 | } | ||
63 | 63 | | |||
64 | function goHome() { | 64 | function goHome() { | ||
65 | if (folderView.url != plasmoid.configuration.url) { | 65 | if (folderView.url != plasmoid.configuration.url) { | ||
66 | folderView.url = plasmoid.configuration.url; | 66 | folderView.url = Qt.binding(function() { | ||
67 | return plasmoid.configuration.url; | ||||
68 | }); | ||||
67 | folderView.history = []; | 69 | folderView.history = []; | ||
68 | folderView.updateHistory(); | 70 | folderView.updateHistory(); | ||
69 | } | 71 | } | ||
70 | } | 72 | } | ||
71 | 73 | | |||
72 | PlasmaCore.Svg { | 74 | PlasmaCore.Svg { | ||
73 | id: actionOverlays | 75 | id: actionOverlays | ||
74 | 76 | | |||
▲ Show 20 Lines • Show All 334 Lines • Show Last 20 Lines |