summaryrefslogtreecommitdiff
path: root/src/MESA_field_stat.cpp
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2018-11-12 17:20:40 +0800
committerzhengchao <[email protected]>2018-11-12 17:20:40 +0800
commit614fc2fac0a823009ac9243d8926a4c3baef3f54 (patch)
tree58392fe0ebffb357374926d1fd280af314856843 /src/MESA_field_stat.cpp
parentd587b62628dd00eec8f2c9e71676cea7ca1f620e (diff)
允许运行后设置ID_INVISBLE参数。
Diffstat (limited to 'src/MESA_field_stat.cpp')
-rw-r--r--src/MESA_field_stat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MESA_field_stat.cpp b/src/MESA_field_stat.cpp
index 81cedc4..5148486 100644
--- a/src/MESA_field_stat.cpp
+++ b/src/MESA_field_stat.cpp
@@ -318,7 +318,7 @@ int FS_set_para(screen_stat_handle_t handle, enum FS_option type,const void* va
{
struct FS_space_t* _handle=(struct FS_space_t*)handle;
int int_val=0,ret=0;
- if(_handle->running==1)
+ if(_handle->running==1 && type!=ID_INVISBLE)
{
return -1;
}