Commit 6ad062d6 authored by Alexandre Pereira's avatar Alexandre Pereira Committed by Nate Graham
Browse files

applet: Fix logic to show virtual devices

This makes them appear when show is checked and hide when not checked.
The logic before was reversed.
parent 36d6eb9c
Pipeline #165673 passed with stage
in 43 seconds
......@@ -272,7 +272,7 @@ Item {
sortRole: "SortByDefault"
sortOrder: Qt.DescendingOrder
filterOutInactiveDevices: true
filterVirtualDevices: main.showVirtualDevices
filterVirtualDevices: !main.showVirtualDevices
sourceModel: paSinkModel
}
......@@ -282,7 +282,7 @@ Item {
sortRole: "SortByDefault"
sortOrder: Qt.DescendingOrder
filterOutInactiveDevices: true
filterVirtualDevices: main.showVirtualDevices
filterVirtualDevices: !main.showVirtualDevices
sourceModel: paSourceModel
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment