]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt/GuiSymbols.cpp
Hack to display section symbol
[lyx.git] / src / frontends / qt / GuiSymbols.cpp
index 0e5d4ced4fd526427fe0587d5b79c8ac4f953ca8..d6a19269385d6f81f2e82ce403afed5a04f907c7 100644 (file)
@@ -409,12 +409,12 @@ void GuiSymbols::on_symbolsLW_clicked(QModelIndex const & index)
 }
 
 
-void GuiSymbols::on_categoryCO_activated(QString const & text)
+void GuiSymbols::on_categoryCO_activated(int)
 {
        if (!categoryFilterCB->isChecked())
                updateSymbolList(false);
        else
-               scrollToItem(text);
+               scrollToItem(categoryCO->currentText());
 }