]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/TocWidget.cpp
Show suggestions containing the input in the command buffer
[features.git] / src / frontends / qt / TocWidget.cpp
index c236327f56d618fb45a38d3955dfa17ff1dbe4e7..573e232993d80705f92e33134343f8b70984d752 100644 (file)
@@ -346,9 +346,8 @@ void TocWidget::setTreeDepth(int depth)
 }
 
 
-void TocWidget::on_typeCO_currentIndexChanged(int index)
+void TocWidget::on_typeCO_activated(int index)
 {
-
        if (index == -1)
                return;
        current_type_ = typeCO->itemData(index).toString();