Skip to content

Commit 22c60ac

Browse files
committed
fix method override on fieldFormat example
1 parent 910c35e commit 22c60ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/fieldFormat/fieldFormat/fieldFormat.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ template<typename T>
1616
class leadsField:public menuField<T> {
1717
public:
1818
using menuField<T>::menuField;
19-
Used printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len) {
19+
Used printTo(navRoot &root,bool sel,menuOut& out, idx_t idx,idx_t len,idx_t panelNr=0) override {
2020
menuField<T>::reflex=menuField<T>::target();
2121
prompt::printTo(root,sel,out,idx,len);
2222
bool ed=this==root.navFocus;

0 commit comments

Comments
 (0)