From 9fcc641808bd1a250cdd22b677f9b12008b90089 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 6 Apr 2022 17:02:10 -0700 Subject: [PATCH] Don't set the dirty bit when running DRC Dirty bit is set in the zone filler separately, there is no action in the DRC that needs to be saved Fixes https://gitlab.com/kicad/code/kicad/issues/11344 (cherry picked from commit 821fe6ea42fd40466bed4106ae315a55457143f7) --- pcbnew/tools/drc_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/drc_tool.cpp b/pcbnew/tools/drc_tool.cpp index c39d63fb61..6dcf33ac31 100644 --- a/pcbnew/tools/drc_tool.cpp +++ b/pcbnew/tools/drc_tool.cpp @@ -192,7 +192,7 @@ void DRC_TOOL::RunTests( PROGRESS_REPORTER* aProgressReporter, bool aRefillZones m_drcDialog->SetFootprintTestsRun(); } - commit.Push( _( "DRC" ), SKIP_UNDO ); + commit.Push( _( "DRC" ), SKIP_UNDO | SKIP_SET_DIRTY ); m_drcRunning = false;