diff --git a/src/LyX.cpp b/src/LyX.cpp index 2f981c518b..a5578425ae 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -625,15 +625,6 @@ void LyX::execBatchCommands() else pimpl_->application_->restoreGuiSession(); - BufferList::iterator I = theBufferList().begin(); - BufferList::iterator end = theBufferList().end(); - for (; I != end; ++I) { - Buffer * buf = *I; - if (buf != buf->masterBuffer()) - continue; - updateLabels(*buf); - } - // Execute batch commands if available if (pimpl_->batch_command.empty()) return;