🚨 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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user