fix(color): set current model after label update (#2476)
* fix(color): set current model after label update Fixes #2460 Here Companion only outputs a more or less empty labels file, so that models are scanned on startup, however not setting the current model properly in this particular case. * fix(color): bitmap name in modelslist should be zero terminated
This commit is contained in:
@@ -77,7 +77,7 @@ class ModelCell
|
||||
char modelName[LEN_MODEL_NAME + 1] = "";
|
||||
char modelFinfoHash[FILE_HASH_LENGTH + 1] = "";
|
||||
#if LEN_BITMAP_NAME > 0
|
||||
char modelBitmap[LEN_BITMAP_NAME] = "";
|
||||
char modelBitmap[LEN_BITMAP_NAME + 1] = "";
|
||||
#endif
|
||||
gtime_t lastOpened = 0;
|
||||
bool _isDirty = true;
|
||||
|
||||
Reference in New Issue
Block a user