Fix Cleaer Read-Only Flag command not working immediately regression
Fix #14138
This commit is contained in:
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…
Reference in New Issue