image-source: Correctly assign hotkey to next instead of prev

master
tududweb 2022-07-30 09:13:34 +08:00 committed by Matt Gajownik
parent 64abfca620
commit bf65c5b041
1 changed files with 1 additions and 1 deletions

View File

@ -654,7 +654,7 @@ static void *ss_create(obs_data_t *settings, obs_source_t *source)
source, "SlideShow.Stop", obs_module_text("SlideShow.Stop"),
stop_hotkey, ss);
ss->prev_hotkey = obs_hotkey_register_source(
ss->next_hotkey = obs_hotkey_register_source(
source, "SlideShow.NextSlide",
obs_module_text("SlideShow.NextSlide"), next_slide_hotkey, ss);