mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix button labels: "Cancel" button should be "Close" and "Ok" "Apply and Close"
This commit is contained in:
parent
d2e51fdb5f
commit
120106c6c6
@ -2,7 +2,7 @@
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2012 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||
* Copyright (C) 1992-2023 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 1992-2024 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@ -168,7 +168,8 @@ DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS( PCB_
|
||||
else
|
||||
m_setToLayerDefaults->SetValue( true );
|
||||
|
||||
SetupStandardButtons();
|
||||
SetupStandardButtons( { { wxID_OK, _( "Apply and Close" ) },
|
||||
{ wxID_CANCEL, _( "Close" ) } } );
|
||||
|
||||
finishDialogSettings();
|
||||
}
|
||||
|
@ -153,7 +153,8 @@ DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS( PCB_EDIT
|
||||
else
|
||||
m_setToDesignRuleValues->SetValue( true );
|
||||
|
||||
SetupStandardButtons();
|
||||
SetupStandardButtons( { { wxID_OK, _( "Apply and Close" ) },
|
||||
{ wxID_CANCEL, _( "Close" ) } } );
|
||||
|
||||
m_netFilter->Connect( FILTERED_ITEM_SELECTED,
|
||||
wxCommandEventHandler( DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::OnNetFilterSelect ),
|
||||
|
Loading…
x
Reference in New Issue
Block a user