mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph/values] Correct a bug: display the empty table warning when
no function is defined and active Change-Id: I528d3437d274a08bf55e949c3f79646f71ce72af
This commit is contained in:
@@ -188,7 +188,7 @@ ValueCell * ValuesController::abscisseCellAtRow(int rowIndex) {
|
||||
}
|
||||
|
||||
void ValuesController::didBecomeFirstResponder() {
|
||||
if (m_functionStore->numberOfActiveFunctions() == 0) {
|
||||
if (m_functionStore->numberOfDefinedFunctions() == 0 || m_functionStore->numberOfActiveFunctions() == 0) {
|
||||
m_contentView.setTableState(ValuesController::ContentView::TableState::Empty);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user