mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-03 03:11:57 +00:00
fix(route): a stored route longer than the editor's 7 hops can't be saved cut short
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -216,7 +216,7 @@ public:
|
||||
break;
|
||||
case R_TO_NODE: r.setToNode(!r.toNode()); break;
|
||||
case R_SAVE:
|
||||
if (!r.save()) _task->showAlert("Can't save", 1000);
|
||||
if (!r.save()) _task->showAlert(r.tooLong() ? "Too long to edit" : "Can't save", 1000);
|
||||
else _task->showAlert(r.count() ? "Path saved" : "Saved: direct", 1000);
|
||||
break;
|
||||
case R_KEEP: toggleKeep(); break;
|
||||
|
||||
Reference in New Issue
Block a user