From ae02835fef4651e8f2d560e5d37317c0acd29895 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 2 Apr 2020 14:34:34 +0100 Subject: [PATCH] Fix spelling error. Fixes https://gitlab.com/kicad/code/kicad/issues/4144 --- eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp | 6 +++--- .../dialogs/dialog_global_edit_text_and_graphics_base.cpp | 4 ++-- .../dialogs/dialog_global_edit_text_and_graphics_base.fbp | 4 ++-- .../dialogs/dialog_global_edit_text_and_graphics_base.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp b/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp index ccc5b2c324..ad262c88cd 100644 --- a/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp +++ b/eeschema/dialogs/dialog_global_edit_text_and_graphics.cpp @@ -115,7 +115,7 @@ DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::~DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS() g_modifyValues = m_values->GetValue(); g_modifyOtherFields = m_otherFields->GetValue(); g_modifyWires = m_wires->GetValue(); - g_modifyBusses = m_busses->GetValue(); + g_modifyBusses = m_buses->GetValue(); g_modifyGlobalLabels = m_globalLabels->GetValue(); g_modifyHierLabels = m_hierLabels->GetValue(); g_modifySheetTitles = m_sheetTitles->GetValue(); @@ -144,7 +144,7 @@ bool DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::TransferDataToWindow() m_values->SetValue( g_modifyValues ); m_otherFields->SetValue( g_modifyOtherFields ); m_wires->SetValue( g_modifyWires ); - m_busses->SetValue( g_modifyBusses ); + m_buses->SetValue( g_modifyBusses ); m_globalLabels->SetValue( g_modifyGlobalLabels ); m_hierLabels->SetValue( g_modifyHierLabels ); m_sheetTitles->SetValue( g_modifySheetTitles ); @@ -395,7 +395,7 @@ void DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem( const SCH_SHEET_PATH& aShe } else if( m_wires->GetValue() && aItem->IsType( wireTypes ) ) processItem( aSheetPath, aItem ); - else if( m_busses->GetValue() && aItem->IsType( busTypes ) ) + else if( m_buses->GetValue() && aItem->IsType( busTypes ) ) processItem( aSheetPath, aItem ); else if( m_globalLabels->GetValue() && aItem->Type() == SCH_GLOBAL_LABEL_T ) processItem( aSheetPath, aItem ); diff --git a/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.cpp b/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.cpp index ea3ee6156e..153d31a07d 100644 --- a/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.cpp +++ b/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.cpp @@ -37,8 +37,8 @@ DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_BASE::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_ m_wires = new wxCheckBox( sbScope->GetStaticBox(), wxID_ANY, _("Wires && wire labels"), wxDefaultPosition, wxDefaultSize, 0 ); sbScope->Add( m_wires, 0, wxBOTTOM|wxRIGHT|wxLEFT, 4 ); - m_busses = new wxCheckBox( sbScope->GetStaticBox(), wxID_ANY, _("Busses && bus labels"), wxDefaultPosition, wxDefaultSize, 0 ); - sbScope->Add( m_busses, 0, wxBOTTOM|wxRIGHT|wxLEFT, 4 ); + m_buses = new wxCheckBox( sbScope->GetStaticBox(), wxID_ANY, _("Buses && bus labels"), wxDefaultPosition, wxDefaultSize, 0 ); + sbScope->Add( m_buses, 0, wxBOTTOM|wxRIGHT|wxLEFT, 4 ); m_globalLabels = new wxCheckBox( sbScope->GetStaticBox(), wxID_ANY, _("Global labels"), wxDefaultPosition, wxDefaultSize, 0 ); sbScope->Add( m_globalLabels, 0, wxBOTTOM|wxRIGHT|wxLEFT, 4 ); diff --git a/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.fbp b/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.fbp index a6882626a8..95cc1149c0 100644 --- a/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.fbp +++ b/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.fbp @@ -379,7 +379,7 @@ 0 0 wxID_ANY - Busses && bus labels + Buses && bus labels 0 @@ -387,7 +387,7 @@ 0 1 - m_busses + m_buses 1 diff --git a/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.h b/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.h index 72fe669221..2caaa72991 100644 --- a/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.h +++ b/eeschema/dialogs/dialog_global_edit_text_and_graphics_base.h @@ -43,7 +43,7 @@ class DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS_BASE : public DIALOG_SHIM wxCheckBox* m_values; wxCheckBox* m_otherFields; wxCheckBox* m_wires; - wxCheckBox* m_busses; + wxCheckBox* m_buses; wxCheckBox* m_globalLabels; wxCheckBox* m_hierLabels; wxCheckBox* m_sheetTitles;