Fix Cleaer Read-Only Flag command not working immediately regression

Fix #14138
pull/14148/head
Don Ho 1 year ago
parent e30ee852d6
commit 01ff1eb881

@ -1995,6 +1995,7 @@ void Notepad_plus::command(int id)
{
Buffer * buf = _pEditView->getCurrentBuffer();
removeReadOnlyFlagFromFileAttributes(buf->getFullPathName());
buf->setFileReadOnly(false);
}
break;

Loading…
Cancel
Save