arteme / pod-ui

A modern GTK+ UI for controlling Line6 POD family of devices via MIDI. Supported devices: POD 1.0, POD 2.0, POD Pro, PocketPOD, PODxt, PODxt Pro, PODxt Live, Bass PODxt, Bass PODxt Pro, Bass PODxt Live
https://arteme.github.io/pod-ui/
GNU General Public License v3.0
31 stars 2 forks source link

Specifying `-i` and `-o` options on command line without `-m` crashes the app #23

Closed arteme closed 1 year ago

arteme commented 1 year ago

Specifying -i (input MIDI port) and -o (output MIDI port) without -m (model) logically seems like a device auto-detect will be run on the specified ports only. Instead, it crashes the app with:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', gui\src\main.rs:980:57
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace