xela144 / CANaconda

CANaconda project: CAN message viewer
GNU General Public License v3.0
10 stars 0 forks source link

Ports aren't continuously scanned after initialization #47

Closed Susurrus closed 10 years ago

Susurrus commented 10 years ago

With results in the bug of not being able to select a port if you inserted the CAN-USB AFTER startup. If the program isn't attached to a port it should continuously scan for ports and update the UI accordingly. I don't think this is necessary while the program is running and attached to a port.

I believe you should be able to hook into the hover event for the "Choose Port" submenu and just scan everytime that's selected. If that's done, however, the mouse cursor should change to indicate that it's busy.

xela144 commented 10 years ago

The signal event is called 'aboutToShow'. Emitted by QMenu objects.

8df8fd9