Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/main.qml
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Line(s) | 402 | Loader { | |||
---|---|---|---|---|---|
413 | active: isFolder | 413 | active: isFolder | ||
414 | asynchronous: false | 414 | asynchronous: false | ||
415 | 415 | | |||
416 | source: "FolderViewLayer.qml" | 416 | source: "FolderViewLayer.qml" | ||
417 | 417 | | |||
418 | onFocusChanged: { | 418 | onFocusChanged: { | ||
419 | if (!focus && model) { | 419 | if (!focus && model) { | ||
420 | model.clearSelection(); | 420 | model.clearSelection(); | ||
421 | | ||||
422 | if (item) { | ||||
423 | item.cancelRename(); | ||||
424 | } | ||||
421 | } | 425 | } | ||
422 | } | 426 | } | ||
423 | 427 | | |||
424 | Connections { | 428 | Connections { | ||
425 | target: folderViewLayer.view | 429 | target: folderViewLayer.view | ||
426 | 430 | | |||
427 | onPressed: { | 431 | onPressed: { | ||
428 | folderViewLayer.focus = true; | 432 | folderViewLayer.focus = true; | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |