// c falls into an uncovered area, but we can guess which
if (c > unicode_blocks[lastBlock].end
- && c < unicode_blocks[lastBlock + 1].start)
+ && (lastBlock == no_blocks-1 || c < unicode_blocks[lastBlock + 1].start))
return QString();
// guessing was wrong so far. do a real search.
}
-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());
}
}
-Dialog * createGuiSymbols(GuiView & lv)
-{
- return new GuiSymbols(lv);
-}
-
-
} // namespace frontend
} // namespace lyx