mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] VariableBoxController: add assertion: the record corresponding to
a displayed row is not null
This commit is contained in:
@@ -157,6 +157,7 @@ const char * VariableBoxController::extension() const {
|
||||
}
|
||||
|
||||
Storage::Record VariableBoxController::recordAtIndex(int rowIndex) {
|
||||
assert(!Storage::sharedStorage()->recordWithExtensionAtIndex(extension(), rowIndex).isNull());
|
||||
return Storage::sharedStorage()->recordWithExtensionAtIndex(extension(), rowIndex);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user