mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +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:
@@ -294,7 +294,7 @@ void UITask::routeAct(uint8_t act) {
|
||||
routeKeep();
|
||||
break;
|
||||
case routeview::RT_SAVE:
|
||||
if (!R.save()) { showToast("Can't save this route"); break; }
|
||||
if (!R.save()) { showToast(R.tooLong() ? "Too long to edit - remove all hops first" : "Can't save this route"); break; }
|
||||
showToast(R.count() ? (R.pinned() ? "Route saved and kept" : "Route saved") : "Saved: direct to the node");
|
||||
routeRebuild();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user