mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[apps/graph] Redefinition of active function
Change-Id: I23e83a1107daf85bdf99c7b100d8bca6d724c919
This commit is contained in:
@@ -80,7 +80,7 @@ int FunctionStore::numberOfFunctions() {
|
||||
int FunctionStore::numberOfActiveFunctions() {
|
||||
int result = 0;
|
||||
for (int i = 0; i < m_numberOfFunctions; i++) {
|
||||
if (m_functions[i].isActive()) {
|
||||
if (m_functions[i].layout() != nullptr && m_functions[i].isActive()) {
|
||||
result++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user