mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[code] The maximal number of scripts is stored in the ScriptStore.
It was in the MenuController before. Change-Id: I5f48465d92b53079dc358feec7a4b713875c7e2d
This commit is contained in:
@@ -101,7 +101,7 @@ void ScriptStore::deleteAllScripts() {
|
||||
}
|
||||
|
||||
bool ScriptStore::isFull() {
|
||||
return (m_accordion.freeSpaceSize() < k_fullFreeSpaceSizeLimit);
|
||||
return (numberOfScripts() >= k_maxNumberOfScripts || m_accordion.freeSpaceSize() < k_fullFreeSpaceSizeLimit);
|
||||
}
|
||||
|
||||
const char * ScriptStore::contentOfScript(const char * name) {
|
||||
|
||||
Reference in New Issue
Block a user