Skip to content

Do not add file to Recent Files List if it is just moved to the other view #2277

@pnedev

Description

@pnedev

Description of the Issue

File is added to the Recent Files List when it is only moved to the other view.
The behavior is wrong because the file is not actually closed.

Steps to Reproduce the Issue

  1. Open N++ and clear the Recent Files List.
  2. Open two files.
  3. Move one of them to the other view.
  4. Look at the Recent Files List - the moved file is added there.

Expected Behavior

Just move the file to the other view without adding it to the Recent Files List.

Actual Behavior

File is added to the Recent Files List when it is only moved to the other view.

Debug Information

When moving the file to the other view it is first closed in the current view which causes it to be added to the Recent Files List.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions