Skip to content

Commit

Permalink
app 6
Browse files Browse the repository at this point in the history
  • Loading branch information
toCase committed May 3, 2024
1 parent 3e36083 commit a4c2d29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions qml/BaseDirSelector.qml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ Item {
}

function edit(i){
modelDir.setCurrent(i)
dir_name.text = modelDir.get(current_idx, 'dir')
but_dir_del.visible = true
form_directory.visible = true
modelDir.setCurrent(i)
}

function del(){
Expand Down Expand Up @@ -119,7 +119,6 @@ Item {
onDoubleClicked: {
dirSelector.currentIndex = index
internal.current_idx = index
internal.select(id)
internal.edit(id)
}

Expand Down
2 changes: 1 addition & 1 deletion qml/ProjectMain.qml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ Item {
highlightMoveDuration: 0
highlightMoveVelocity: 10
focus: true
ScrollBar.vertical: ScrollBar{}
}
}

Expand Down Expand Up @@ -236,7 +237,6 @@ Item {
Connections{
target: modelProject
function onImgReady(file) {
console.log("F:", file)
preview.source = file
}
}
Expand Down

0 comments on commit a4c2d29

Please sign in to comment.