Remove unused code

This commit is contained in:
Ocraftyone 2024-01-05 06:03:34 -05:00
parent 4abca6a091
commit 50b7b3d073
No known key found for this signature in database
GPG key ID: 85836ED21AD4D125

View file

@ -268,7 +268,6 @@ void EditGCodeDialog::add_selected_value_to_gcode()
if (val.IsEmpty())
return;
const long pos = m_gcode_editor->GetInsertionPoint();
m_gcode_editor->WriteText(m_gcode_editor->GetInsertionPoint() == m_gcode_editor->GetLastPosition() ? "\n" + val : val);
if (val.Last() == ']') {