From 076be894d127fb2921bd43169a19b4900695f348 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 30 May 2021 19:45:31 -0400 Subject: [PATCH] Take snapshot when using ctrl+x --- src/gui/game/GameController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp index a5211f441..2ec6f6f69 100644 --- a/src/gui/game/GameController.cpp +++ b/src/gui/game/GameController.cpp @@ -549,6 +549,7 @@ void GameController::CopyRegion(ui::Point point1, ui::Point point2) void GameController::CutRegion(ui::Point point1, ui::Point point2) { CopyRegion(point1, point2); + HistorySnapshot(); gameModel->GetSimulation()->clear_area(point1.X, point1.Y, point2.X-point1.X, point2.Y-point1.Y); }