[apps] Python: in the menu controller, the editable cells holding the

script names are not responder as long as they are not set as first
responder manually by renameSelectedScript for instance
This commit is contained in:
Émilie Feral
2018-01-05 14:00:33 +01:00
committed by Ecco
parent d360709d9b
commit 4a3b935e7b
2 changed files with 7 additions and 1 deletions

View File

@@ -83,6 +83,12 @@ private:
void intToText(int i, char * buffer);
void updateAddScriptRowDisplay();
ScriptStore * m_scriptStore;
class EvenOddEditableTextCell : public ::EvenOddEditableTextCell {
public:
Responder * responder() override {
return nullptr;
}
};
EvenOddEditableTextCell m_scriptCells[k_maxNumberOfDisplayableScriptCells];
/* In the initializer list of the MenuController constructor, we initialize
* m_scriptCells by copying k_maxNumberOfDisplayableScriptCells times the