From 01ff1eb88163b8d3ca3356e3f8bf8de6fa33e786 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 12 Sep 2023 17:44:19 +0200 Subject: [PATCH] Fix Cleaer Read-Only Flag command not working immediately regression Fix #14138 --- PowerEditor/src/NppCommands.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/PowerEditor/src/NppCommands.cpp b/PowerEditor/src/NppCommands.cpp index 769920d6d..1215ba066 100644 --- a/PowerEditor/src/NppCommands.cpp +++ b/PowerEditor/src/NppCommands.cpp @@ -1995,6 +1995,7 @@ void Notepad_plus::command(int id) { Buffer * buf = _pEditView->getCurrentBuffer(); removeReadOnlyFlagFromFileAttributes(buf->getFullPathName()); + buf->setFileReadOnly(false); } break;