diff options
Diffstat (limited to 'src/keys/listkey.cpp')
-rw-r--r-- | src/keys/listkey.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keys/listkey.cpp b/src/keys/listkey.cpp index a8afd93..3d5a897 100644 --- a/src/keys/listkey.cpp +++ b/src/keys/listkey.cpp @@ -213,7 +213,8 @@ char ListKey::SetToElement(int ielement, SW_POSITION pos) { } if (arraycnt) { - (*array[arraypos]) = pos; + if (array[arraypos]->isBoundSet()) + (*array[arraypos]) = pos; *this = (const char *)(*array[arraypos]); } else *this = ""; |