mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-09 14:06:29 +00:00
Remove Python console button from schematic
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19590
This commit is contained in:
parent
65d8af4483
commit
3f2fa3178c
@ -659,12 +659,6 @@ void SCH_EDIT_FRAME::setupUIConditions()
|
||||
mgr->SetConditions( ACTIONS::selectionTool,
|
||||
CHECK( cond.CurrentTool( ACTIONS::selectionTool ) ) );
|
||||
|
||||
if( SCRIPTING::IsWxAvailable() )
|
||||
{
|
||||
mgr->SetConditions( EE_ACTIONS::showPythonConsole,
|
||||
CHECK( cond.ScriptingConsoleVisible() ) );
|
||||
}
|
||||
|
||||
auto showHiddenPinsCond =
|
||||
[this]( const SELECTION& )
|
||||
{
|
||||
|
@ -135,9 +135,6 @@ void SCH_EDIT_FRAME::ReCreateHToolbar()
|
||||
{
|
||||
m_mainToolBar->AddScaledSeparator( this );
|
||||
|
||||
if( scriptingAvailable )
|
||||
m_mainToolBar->Add( EE_ACTIONS::showPythonConsole, ACTION_TOOLBAR::TOGGLE );
|
||||
|
||||
if( haveApiPlugins )
|
||||
addApiPluginTools();
|
||||
}
|
||||
|
@ -1307,14 +1307,6 @@ TOOL_ACTION EE_ACTIONS::nextUnit( TOOL_ACTION_ARGS()
|
||||
.Tooltip( _( "Open the next unit of the symbol" ) )
|
||||
.Parameter<int>( 1 ) );
|
||||
|
||||
// Python Console
|
||||
TOOL_ACTION EE_ACTIONS::showPythonConsole( TOOL_ACTION_ARGS()
|
||||
.Name( "eeschema.EditorControl.showPythonConsole" )
|
||||
.Scope( AS_GLOBAL )
|
||||
.FriendlyName( _( "Scripting Console" ) )
|
||||
.Tooltip( _( "Show the Python scripting console" ) )
|
||||
.Icon( BITMAPS::py_script ) );
|
||||
|
||||
// SCH_NAVIGATE_TOOL
|
||||
//
|
||||
TOOL_ACTION EE_ACTIONS::changeSheet( TOOL_ACTION_ARGS()
|
||||
|
@ -2955,7 +2955,6 @@ void SCH_EDITOR_CONTROL::setTransitions()
|
||||
Go( &SCH_EDITOR_CONTROL::NextLineMode, EE_ACTIONS::lineModeNext.MakeEvent() );
|
||||
Go( &SCH_EDITOR_CONTROL::ToggleAnnotateAuto, EE_ACTIONS::toggleAnnotateAuto.MakeEvent() );
|
||||
|
||||
Go( &SCH_EDITOR_CONTROL::TogglePythonConsole, EE_ACTIONS::showPythonConsole.MakeEvent() );
|
||||
Go( &SCH_EDITOR_CONTROL::ReloadPlugins, ACTIONS::pluginsReload.MakeEvent() );
|
||||
|
||||
Go( &SCH_EDITOR_CONTROL::RepairSchematic, EE_ACTIONS::repairSchematic.MakeEvent() );
|
||||
|
Loading…
Reference in New Issue
Block a user