mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
Fix defective detection for file read-only attribute removal via Explorer
The regression has been made by 5e2f5d79aa8325a3db9c3b811d80e9b7ce42b51c Fix #13742
This commit is contained in:
parent
7077e304aa
commit
d2fdfd7b73
@ -1998,7 +1998,7 @@ void Notepad_plus::fileOpen()
|
||||
size_t sz = fns.size();
|
||||
for (size_t i = 0 ; i < sz ; ++i)
|
||||
{
|
||||
BufferID test = doOpen(fns.at(i).c_str(), false, fDlg.isReadOnly());
|
||||
BufferID test = doOpen(fns.at(i).c_str());
|
||||
if (test != BUFFER_INVALID)
|
||||
lastOpened = test;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user