From 6259616dddd4cb72e3523203d9d8668944bf7045 Mon Sep 17 00:00:00 2001 From: Tai Date: Sat, 29 Jul 2017 13:59:25 +0800 Subject: [PATCH] UI deafult value bug --- src/virtual-output/virtual_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtual-output/virtual_properties.cpp b/src/virtual-output/virtual_properties.cpp index 95b8540..e67720d 100644 --- a/src/virtual-output/virtual_properties.cpp +++ b/src/virtual-output/virtual_properties.cpp @@ -64,7 +64,7 @@ void VirtualProperties::onStop() void VirtualProperties::showEvent(QShowEvent *event) { config_t* config = obs_frontend_get_global_config(); - int delay = config_get_default_int(config, "VirtualOutput", "OutDelay"); + int delay = config_get_int(config, "VirtualOutput", "OutDelay"); if (delay < 0 || delay >30) delay = 0;