collin80 / SavvyCAN

QT based cross platform canbus tool
MIT License
1.04k stars 288 forks source link

Bug: Playback crashes if no log file is loaded #604

Closed MatinF closed 1 year ago

MatinF commented 1 year ago

Observed Playback window currently allows the user to press "play" despite no log file being loaded in the lower left corner. The result is that SavvyCAN crashes.

Expected Ideally, the user would instead be warned that they need to load a log file before attempting to playback anything.

collin80 commented 1 year ago

Upcoming commit 044fea3 will fix this by issuing a warning dialog instead of attempting to continue. However, on Linux it doesn't seem to crash on me anyway.