enthought / enthought/pyface

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

Open
#1,162 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

## 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//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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.