mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/sequence||graph] Improve hiding of copy column functionnality
Change-Id: Ic31734f99c0c223e5865b46c48866b89aa62d383
This commit is contained in:
@@ -31,9 +31,11 @@ bool FunctionParameterController::handleEvent(Ion::Events::Event event) {
|
||||
m_selectableTableView.reloadData();
|
||||
return true;
|
||||
}
|
||||
/* TODO: implement copy column
|
||||
* case 1:
|
||||
return false;*/
|
||||
#if COPY_COLUMN
|
||||
case 1:
|
||||
/* TODO: implement function copy column */
|
||||
return true;
|
||||
#endif
|
||||
default:
|
||||
assert(false);
|
||||
return false;
|
||||
@@ -49,7 +51,11 @@ int FunctionParameterController::numberOfRows() {
|
||||
HighlightCell * FunctionParameterController::reusableCell(int index) {
|
||||
assert(index >= 0);
|
||||
assert(index < k_totalNumberOfCell);
|
||||
HighlightCell * cells[] = {&m_displayDerivativeColumn}; // {&m_displayDerivativeColumn, &m_copyColumn};
|
||||
#if COPY_COLUMN
|
||||
HighlightCell * cells[] = {&m_displayDerivativeColumn, &m_copyColumn};
|
||||
#else
|
||||
HighlightCell * cells[] = {&m_displayDerivativeColumn};
|
||||
#endif
|
||||
return cells[index];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user