summaryrefslogtreecommitdiffstats
path: root/GUI
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2022-12-26 16:48:18 -0800
committeryum <yum.food.vr@gmail.com>2022-12-26 16:48:18 -0800
commit3659518cb0ba5e8298d13215441a18ad8b275465 (patch)
tree57097e8bb2ac0d1c1cde60c6e02fbc616d2ad62e /GUI
parentd7a38b79e1fbcd3b64490ae1b04692d0a2bcdd7d (diff)
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.
Diffstat (limited to 'GUI')
-rw-r--r--GUI/GUI/GUI/Frame.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}