UI: ApplicationsPage: Fix speed limit flag.

This commit is contained in:
Nodir Temirkhodjaev 2017-12-23 09:30:32 +05:00
parent 4253133249
commit a356f2b2ee

View File

@ -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