🚨 Mark mouse-created areas as unsaved changes

Drawing a new area rectangle on the map did not arm the save
button, so the area was silently discarded on the next switch.
This commit is contained in:
2026-11-15 22:08:32 +01:00
parent f8f56d6b2f
commit 335cfc875c
+1
View File
@@ -404,6 +404,7 @@ begin
areaInfo^.Bottom := p.y; areaInfo^.Bottom := p.y;
pbArea.Repaint; pbArea.Repaint;
FAreaMove := [amRight, amBottom]; FAreaMove := [amRight, amBottom];
btnSave.Enabled := True;
end; end;
vstArea.ClearSelection; vstArea.ClearSelection;
vstArea.Selected[match] := True; vstArea.Selected[match] := True;