enthought / enthought/pyface

`SplitEditorAreaPane.destroy` creates new widgets

Open
#1,206 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

Toolkit: _Qt_

## Description

In the Qt backend, when `SplitEditorAreaPane.destroy()` is called it removes all open editors (this is good), but as a side-effect of this any `DraggableTabWidgets` in the layout create their `empty_tab`

## Steps to Reproduce

Create and populate a `SplitEditorAreaPane` and then call `destroy()` to delete it. This is done in the tests for `SplitEditorAreaPane` for example.

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.