Skip to content

Commit

Permalink
Disable manual channel when RAW file is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL committed Oct 9, 2024
1 parent 8feb242 commit de9e70a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/welle-gui/QML/MainView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ ApplicationWindow {

WComboBox {
id: manualChannelBox
enabled: globalSettingsLoader.item.device != 5 // disable when RAW file is used
sizeToContents: true
model: ["5A", "5B", "5C", "5D",
"6A", "6B", "6C", "6D",
Expand Down
1 change: 1 addition & 0 deletions src/welle-gui/QML/settingpages/GlobalSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Item {

property alias enableFullScreenState : enableFullScreen.checked
property alias qQStyleTheme : qQStyleTheme.currentIndex
property alias device: deviceBox.currentIndex
property bool isLoaded: false

anchors.fill: parent
Expand Down

0 comments on commit de9e70a

Please sign in to comment.