Skip to content

Commit

Permalink
Fix ActionLaben
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulik committed Jul 2, 2023
1 parent 30280f6 commit 2cd3654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/qml/QSteamworks/ActionIcon.qml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Image {


fillMode: Image.PreserveAspectFit
// source: steam_input.currentActionSet.actions[name].glyphs[0]
source: steam_input.lastController.actionSet.actions[name].glyphs[0]
}
2 changes: 1 addition & 1 deletion resources/qml/QSteamworks/ActionText.qml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ import QtQuick.Controls 2.15
Label {
property string name

// text: steam_input.currentActionSet.actions[name].localizedName
text: steam_input.lastController.actionSet.actions[name].localizedName
}

0 comments on commit 2cd3654

Please sign in to comment.