mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Fix thinko in r21048
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21590 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
12aa33ff01
commit
a53e2ac8dc
@ -807,7 +807,7 @@ string const GuiGraphics::readBB(string const & file)
|
||||
bool GuiGraphics::isFilenameValid(string const & fname) const
|
||||
{
|
||||
// It may be that the filename is relative.
|
||||
return makeAbsPath(fname, bufferFilepath()).isReadable();
|
||||
return makeAbsPath(fname, bufferFilepath()).isFileReadable();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user