fix: The tool bar can't parse the random mode

This commit is contained in:
dreamsourcelabTAI 2023-05-15 14:55:10 +08:00
parent 956a9624ac
commit 6e20ea14b1

View File

@ -1270,7 +1270,7 @@ namespace pv
QString rand_mode = g_variant_get_string(gvar,NULL);
g_variant_unref(gvar);
bool is_rand = rand_mode.toUpper() == "random";
bool is_rand = rand_mode == "random";
_action_loop->setVisible(is_rand);
if (!is_rand){