File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -816,6 +816,7 @@ void PluginWindow::tab_changed(const int tab) const
816816 ui->cb_obs_output_action ->setCurrentIndex (0 );
817817 ui->mapping_lbl_device_name ->setText (ui->list_midi_dev ->currentItem ()->text ());
818818 }
819+ Utils::build_hotkey_map ();
819820 clear_table ();
820821 load_table ();
821822 this ->ui ->table_mapping ->resizeColumnsToContents ();
Original file line number Diff line number Diff line change @@ -926,7 +926,7 @@ QString Utils::translate_action(ActionsClass::Actions action)
926926}
927927void Utils::build_hotkey_map () {
928928 hotkey_map.clear ();
929-
929+ hotkey_name_map. clear ();
930930 obs_enum_hotkeys (
931931 [](void *data, obs_hotkey_id id, obs_hotkey_t *hotkey) {
932932 QString item (obs_hotkey_get_name (hotkey));
You can’t perform that action at this time.
0 commit comments