Skip to content

Commit 69e2185

Browse files
committed
Fix path not changing in title
1 parent 888ef7c commit 69e2185

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/qml/backend/FolderModel.qml

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import com.ubuntu.PlacesModel 0.1
2424
Object {
2525
id: folderModel
2626

27-
property string path: places.locationHome
27+
property alias path: __model.path
2828
property string title: pathTitle(path)
2929
property string folder: pathName(path)
3030

@@ -230,7 +230,6 @@ Object {
230230
FolderListModel {
231231
id: __model
232232

233-
path: folderModel.path
234233
enableExternalFSWatcher: true
235234

236235
// Properties to emulate a model entry for use by FileDetailsPopover

src/app/qml/main.qml

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ ApplicationWindow {
5555

5656
FolderModel {
5757
id: folderModel
58+
59+
path: places.locationHome
5860
}
5961

6062
SettingsDialog {

0 commit comments

Comments
 (0)