mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[apps] Don't forget to call viewWillAppear
At the moment ViewController::viewWillAppear doesn't do anything, so there is no real impact. But if we want to use it it needs to be called from subclasses.
This commit is contained in:
@@ -34,6 +34,7 @@ void FloatParameterController<T>::didBecomeFirstResponder() {
|
||||
|
||||
template<typename T>
|
||||
void FloatParameterController<T>::viewWillAppear() {
|
||||
ViewController::viewWillAppear();
|
||||
if (selectedRow() == -1 || selectedRow() == numberOfRows()-1) {
|
||||
selectCellAtLocation(0, 0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user