]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiRef.cpp
Fix handling of the add branch textfield in GuiBranches
[lyx.git] / src / frontends / qt4 / GuiRef.cpp
index 2b2549874c8f62828034793af8d9309a1ee63538..5082daa2667023ff9fe9595372bd0403ce2cd776 100644 (file)
@@ -255,7 +255,7 @@ void GuiRef::updateContents()
        FileNameList const & buffers = theBufferList().fileNames();
        for (FileNameList::const_iterator it = buffers.begin();
             it != buffers.end(); ++it) {
-               bufferCO->addItem(toqstr(makeDisplayPath(it->absFilename())));
+               bufferCO->addItem(toqstr(makeDisplayPath(it->absFileName())));
        }
 
        int const thebuffer = theBufferList().bufferNum(buffer().fileName());
@@ -496,14 +496,14 @@ void GuiRef::filterLabels()
 
 bool GuiRef::initialiseParams(std::string const & data)
 {
-       InsetCommand::string2params("ref", data, params_);
+       InsetCommand::string2params(data, params_);
        return true;
 }
 
 
 void GuiRef::dispatchParams()
 {
-       std::string const lfun = InsetCommand::params2string("ref", params_);
+       std::string const lfun = InsetCommand::params2string(params_);
        dispatch(FuncRequest(getLfun(), lfun));
 }