Whoops on the last commit. This is the right patch.

This commit is contained in:
Richard Heck 2016-02-20 22:18:03 -05:00
parent c498adf4db
commit efd1af6789

View File

@ -3039,9 +3039,9 @@ void GuiDocument::paramsToDialog()
biblioChanged_ = false;
// indices
// We may be called when there is no BufferView and so no Buffer,
// e.g., when the last view has just been closed.
bool const isReadOnly = buffer() ? buffer().isReadonly() : false;
// We may be called when there is no Buffer, e.g., when
// the last view has just been closed.
bool const isReadOnly = isBufferAvailable() ? buffer().isReadonly() : false;
indicesModule->update(bp_, isReadOnly);
// language & quotes