enthought/pyface

Bug report: 'EditorAreaWidget' object has no attribute 'setCurrentWidget'

ctangell opened this issue · 0 comments

Environment

OS: Windows 10/Mac 12.6 (likely all os)
Python version: 3.8
Toolkit: Qt
Qt API: PySide6

Description

When trying to use the underlying EditorAreaWidget, got the following bug:

'EditorAreaWidget' object has no attribute 'setCurrentWidget'

  File "/Users/cangell/.edm/envs/<env-name>/lib/python3.8/site-packages/pyface/ui/qt4/tasks/split_editor_area_pane.py", line 155, in activate_editor
    active_tabwidget.setCurrentWidget(editor.control)

Steps to Reproduce

import EditorAreaWidget, try to access setCurrentWidget on the EditorAreaWidget