mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Fix #6496, patch from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33450 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3788adf6ce
commit
70e12ff55d
@ -3494,7 +3494,7 @@ bool Buffer::loadLyXFile(FileName const & s)
|
||||
// InsetInfo needs to know if file is under VCS
|
||||
lyxvc().file_found_hook(s);
|
||||
if (readFileHelper(s)) {
|
||||
setReadonly(!s.isWritable());
|
||||
d->read_only = !s.isWritable();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user