From 37967eb685f6b03b568d7a580ba065b58a7d6992 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 2 Jan 2019 19:41:18 -0800 Subject: [PATCH] eeschema: init pin table local var Explicitly set modified to false when instantiating --- eeschema/dialogs/dialog_lib_edit_pin_table.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp index 7906cabdef..0e7dbed407 100644 --- a/eeschema/dialogs/dialog_lib_edit_pin_table.cpp +++ b/eeschema/dialogs/dialog_lib_edit_pin_table.cpp @@ -436,6 +436,7 @@ DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE( wxWindow* parent, LIB_PART m_ButtonsOK->SetDefault(); m_initialized = true; + m_modified = false; // Connect Events m_grid->Connect( wxEVT_GRID_COL_SORT, wxGridEventHandler( DIALOG_LIB_EDIT_PIN_TABLE::OnColSort ), nullptr, this );