Skip to content

Commit

Permalink
Update expression_field.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozero4 authored Mar 18, 2024
1 parent 64b4012 commit 2671b6e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/calculation/expression_field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ bool ExpressionField::fieldHasOnlyAMinus() const {
const char *inputBuffer = m_textField.draftTextBuffer();
return (inputBuffer[0] == '-' && inputBuffer[1] == '\0');
}

Layout layout = m_layoutField.layout();
if (layout.type() == LayoutNode::Type::HorizontalLayout && layout.numberOfChildren() == 1) {
Layout child = layout.childAtIndex(0);
Expand Down

0 comments on commit 2671b6e

Please sign in to comment.