mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
parent
5cdbaf51ee
commit
4c27c921f0
@ -270,7 +270,7 @@ void GuiRef::updateContents()
|
||||
|
||||
int const thebuffer = theBufferList().bufferNum(buffer().fileName());
|
||||
// restore the buffer combo setting for new insets
|
||||
if (params_["reference"].empty() && restored_buffer_ != -1
|
||||
if (new_inset && restored_buffer_ != -1
|
||||
&& restored_buffer_ < bufferCO->count() && thebuffer == active_buffer_)
|
||||
bufferCO->setCurrentIndex(restored_buffer_);
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user