diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index 24c9d6adfd..71118780bf 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -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& ) { diff --git a/eeschema/toolbars_sch_editor.cpp b/eeschema/toolbars_sch_editor.cpp index ffd2ac3701..29f5f3bcd8 100644 --- a/eeschema/toolbars_sch_editor.cpp +++ b/eeschema/toolbars_sch_editor.cpp @@ -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(); } diff --git a/eeschema/tools/ee_actions.cpp b/eeschema/tools/ee_actions.cpp index a61c02751c..29b915b52c 100644 --- a/eeschema/tools/ee_actions.cpp +++ b/eeschema/tools/ee_actions.cpp @@ -1307,14 +1307,6 @@ TOOL_ACTION EE_ACTIONS::nextUnit( TOOL_ACTION_ARGS() .Tooltip( _( "Open the next unit of the symbol" ) ) .Parameter( 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() diff --git a/eeschema/tools/sch_editor_control.cpp b/eeschema/tools/sch_editor_control.cpp index 799fc95869..e0c5e622a6 100644 --- a/eeschema/tools/sch_editor_control.cpp +++ b/eeschema/tools/sch_editor_control.cpp @@ -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() );