From 998fe12a5a1649b65ec24407b464991e6aa487e8 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 13 Jun 2020 22:11:32 +0100 Subject: [PATCH] Make sure COMMON_TOOLS initializes the grid. --- common/tool/common_tools.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/tool/common_tools.cpp b/common/tool/common_tools.cpp index 40ff9d81a0..63bd643a39 100644 --- a/common/tool/common_tools.cpp +++ b/common/tool/common_tools.cpp @@ -53,8 +53,7 @@ void COMMON_TOOLS::Reset( RESET_REASON aReason ) m_grids.emplace_back( gridSize, gridSize ); } - if( aReason == GAL_SWITCH ) - OnGridChanged(); + OnGridChanged(); }