diff --git a/src/ui/qml/pages/apps/SpeedLimitButton.qml b/src/ui/qml/pages/apps/SpeedLimitButton.qml index 4c8da9a7..b531aea3 100644 --- a/src/ui/qml/pages/apps/SpeedLimitButton.qml +++ b/src/ui/qml/pages/apps/SpeedLimitButton.qml @@ -6,7 +6,8 @@ import com.fortfirewall 1.0 ButtonPopup { - icon.source: !(appGroup.speedLimitIn || appGroup.speedLimitOut) + icon.source: !((appGroup.limitInEnabled && appGroup.speedLimitIn) + || (appGroup.limitOutEnabled && appGroup.speedLimitOut)) ? "qrc:/images/flag_green.png" : "qrc:/images/flag_yellow.png" text: (translationManager.dummyBool