mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app()
This commit is contained in:
committed by
EmilieNumworks
parent
5058f64163
commit
055d601854
@@ -1,7 +1,6 @@
|
||||
#include "float_parameter_controller.h"
|
||||
#include "../constant.h"
|
||||
#include "../shared/poincare_helpers.h"
|
||||
#include "text_field_delegate_app.h"
|
||||
#include <assert.h>
|
||||
#include <cmath>
|
||||
|
||||
@@ -138,10 +137,6 @@ bool FloatParameterController::textFieldDidFinishEditing(TextField * textField,
|
||||
return true;
|
||||
}
|
||||
|
||||
TextFieldDelegateApp * FloatParameterController::textFieldDelegateApp() {
|
||||
return (TextFieldDelegateApp *)app();
|
||||
}
|
||||
|
||||
int FloatParameterController::activeCell() {
|
||||
return selectedRow();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user