Minor amendment to b95262f487

Just for consistency.
This commit is contained in:
Juergen Spitzmueller 2016-09-10 10:32:40 +02:00
parent 5cdbaf51ee
commit 4c27c921f0

View File

@ -270,7 +270,7 @@ void GuiRef::updateContents()
int const thebuffer = theBufferList().bufferNum(buffer().fileName()); int const thebuffer = theBufferList().bufferNum(buffer().fileName());
// restore the buffer combo setting for new insets // 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_) && restored_buffer_ < bufferCO->count() && thebuffer == active_buffer_)
bufferCO->setCurrentIndex(restored_buffer_); bufferCO->setCurrentIndex(restored_buffer_);
else { else {