DEADSOFTWARE

Main: Update selected objects on delete
authorStas'M <x86corez@gmail.com>
Tue, 22 May 2018 13:00:14 +0000 (16:00 +0300)
committerStas'M <x86corez@gmail.com>
Tue, 22 May 2018 13:01:04 +0000 (16:01 +0300)
src/editor/f_main.pas

index a810a63637c87848381a1c051228b1cfd91a1f7c..d543e3fdb5048e130d0def4a71730acb1db1ff47 100644 (file)
@@ -1776,6 +1776,7 @@ begin
   RemoveSelectFromObjects();
 
   MainForm.miUndo.Enabled := UndoBuffer <> nil;
+  MainForm.RecountSelectedObjects();
 end;
 
 procedure Undo_Add(ObjectType: Byte; ID: DWORD; Group: Boolean = False);