network: Fix Bluetooth panel showing up after connection removal
The test to check whether the Bluetooth (simple section) contains elements was testing for NetObjectSimple. However, ethernet connections are a subclass and check would count these. This causes issue when the code is run after net object removal. The fix is to check for the exact object type rather than also allowing subclasses.
Showing with 2 additions and 1 deletion