From 3659518cb0ba5e8298d13215441a18ad8b275465 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 26 Dec 2022 16:48:18 -0800 Subject: Bugfix: transcribe panel respects chars per sync etc. The transcribe panel was grabbing data from the unity panel, causing the bytes per char / chars per sync parameters to be ignored. --- GUI/GUI/GUI/Frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'GUI') diff --git a/GUI/GUI/GUI/Frame.cpp b/GUI/GUI/GUI/Frame.cpp index 92d02ed..c9aa4a0 100644 --- a/GUI/GUI/GUI/Frame.cpp +++ b/GUI/GUI/GUI/Frame.cpp @@ -660,11 +660,11 @@ void Frame::OnAppStart(wxCommandEvent& event) { if (which_model == wxNOT_FOUND) { which_model = kModelDefault; } - int chars_per_sync_idx = unity_chars_per_sync_->GetSelection(); + int chars_per_sync_idx = py_app_chars_per_sync_->GetSelection(); if (chars_per_sync_idx == wxNOT_FOUND) { chars_per_sync_idx = kCharsDefault; } - int bytes_per_char_idx = unity_bytes_per_char_->GetSelection(); + int bytes_per_char_idx = py_app_bytes_per_char_->GetSelection(); if (bytes_per_char_idx == wxNOT_FOUND) { bytes_per_char_idx = kBytesDefault; } -- cgit v1.2.3