Skip to content

Deleting a Macro doesn't remove it from the Run Macro multiple times dialog until restart. #4526

@Peter-AVID

Description

@Peter-AVID

Description of the Issue

If you have macros saved, and delete one, the "Run macro multiple times" dialog box still contains the macro name in the dropdown/combo box. This causes the index of any macro "after" that to be off by 1.
If you restart notepad-plus-plus, this is corrected.

Steps to Reproduce the Issue

  1. Save 3 macros.
  2. Delete the 1st macro.
  3. Open the "Run a Macro Multiple Times Dialog. (The deleted macro will still be there)
  4. Run the "Second" (should now be first but the bug leaves it there) Macro. This will actually run the third macro because the combo box says run macro index 1.

Expected Behavior

Deleted macros not to show up in the dialog box.

Actual Behavior

Debug Information

Notepad++ v7.5.6 (32-bit)
Build time : Mar 19 2018 - 00:26:59
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : ON
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions