[code] Fixed bug when importing scripts that draw on screen.

The drawing should happen after the ConsoleController is pushed on the
screen. This means that the importation of scripts should be done at the
ConsoleController's viewWillAppear.

Change-Id: I756ac9de30f339dc4f6aa8d3995abea0a46d03b5
This commit is contained in:
Léa Saviot
2017-12-04 12:11:00 +01:00
parent ff22bc05b8
commit b27551ce4f
3 changed files with 8 additions and 4 deletions

View File

@@ -76,6 +76,7 @@ private:
StackViewController * stackViewController();
bool copyCurrentLineToClipboard();
int m_rowHeight;
bool m_importScriptsWhenViewAppears;
ConsoleStore m_consoleStore;
SelectableTableView m_selectableTableView;
ConsoleLineCell m_cells[k_numberOfLineCells];