mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[apps/graph] Handle undefined function
Change-Id: Id26e0f81ba5c1446655f33b2c63f97ab5b684e41
This commit is contained in:
@@ -9,6 +9,9 @@ FunctionExpressionView::FunctionExpressionView() :
|
||||
|
||||
void FunctionExpressionView::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
EvenOddCell::drawRect(ctx, rect);
|
||||
if (m_function->layout() == nullptr) {
|
||||
return;
|
||||
}
|
||||
// Select the background color according to the even line and the cursor selection
|
||||
KDColor background = backgroundColor();
|
||||
// Select text color according to the state of the function
|
||||
|
||||
Reference in New Issue
Block a user