Skip to content

Commit

Permalink
Fix wrong "Start station scan" button when favorit list is empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbrechtL committed Dec 27, 2024
1 parent 6d20aeb commit fbf753b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/welle-gui/QML/MainView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ ApplicationWindow {
Button {
id: startStationScanButton
text: qsTr("Start station scan")
visible: stationChannelView.count ? false : true
visible: (stationChannelView.count || stationListBox.currentIndex != 0) ? false : true
onClicked: {
radioController.startScan()
}
Expand Down

0 comments on commit fbf753b

Please sign in to comment.