mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-23 13:42:55 +08:00
fix: The tool bar can't parse the random mode
This commit is contained in:
parent
956a9624ac
commit
6e20ea14b1
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user