mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-26 07:15:21 +02:00
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();
|
Buffer * buf = _pEditView->getCurrentBuffer();
|
||||||
removeReadOnlyFlagFromFileAttributes(buf->getFullPathName());
|
removeReadOnlyFlagFromFileAttributes(buf->getFullPathName());
|
||||||
|
buf->setFileReadOnly(false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user