Skip to content

Commit

Permalink
add browse button to mod edit screen
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Aug 24, 2022
1 parent 4e05827 commit 2c8e397
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/qml/CSLOLDialogEditMod.qml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ Dialog {
DialogButtonBox.buttonRole: DialogButtonBox.AcceptRole
onClicked: dialogRawFolder.open()
}
ToolButton {
text: qsTr("Browse")
DialogButtonBox.buttonRole: DialogButtonBox.InvalidRole
onClicked: Qt.openUrlExternally(CSLOLUtils.toFile("./installed/" + fileName))
}
}
}
}
Expand Down

0 comments on commit 2c8e397

Please sign in to comment.