From c2f8898c58bde77ec51ae5558999dd4f31c7c6ce Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 17 Apr 2015 20:31:30 +0200 Subject: [PATCH] Hide "Power component value text cannot be modified" in libedit (which should be displayed only in schematic editor for power parts) --- eeschema/dialogs/dialog_lib_edit_text.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/dialogs/dialog_lib_edit_text.cpp b/eeschema/dialogs/dialog_lib_edit_text.cpp index 778fa892be..8d8a51921b 100644 --- a/eeschema/dialogs/dialog_lib_edit_text.cpp +++ b/eeschema/dialogs/dialog_lib_edit_text.cpp @@ -134,6 +134,10 @@ void DIALOG_LIB_EDIT_TEXT::initDlg( ) // Hide the select button as the child dialog classes use this m_TextValueSelectButton->Hide(); + + // Hide the "Power component value text cannot be modified!" warning + m_PowerComponentValues->Show( false ); + Fit(); }