Version 2.4.1.16231
OS: Microsoft Windows NT 10.0.18362.0, x64
Host Product: Microsoft Office x86
Host Version: 16.0.12130.20272
Host Executable: EXCEL.EXE
Description
If the user uses the Close button rather than the Cancel button to dismiss a refactoring dialog, the refactoring executes rather then cancelling.
To Reproduce
Steps to reproduce the behavior:
- Attempt to Rename or Encapsulate a field.
- Click on the Close button
- The code pane is updated with refactored code.
Expected behavior
Dialog should be dismissed and the code remains unchanged.
I've observed this with Rename and EncapsulateField refactoring. I'm suspecting this is a general issue that likely applies to all refactoring dialogs.