Browse Source
Only apply channel settings after BasicChannelSettingsDialog returns an accepted result. Previously, the return value from dialog.exec() was ignored and settings were copied from the dialog regardless of whether the dialog was accepted or rejected. This could cause changes made in the channel settings dialog to be applied even when the user discarded them. Check the dialog result before updating the channel title, color, Reverse API configuration, and stream index to keep the GUI state synchronized with the user's action. This also fixes the Coverity CHECKED_RETURN warning for the unchecked QDialog::exec() return value. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 24 additions and 23 deletions
Loading…
Reference in new issue