diff --git a/src/texdocdialog.cpp b/src/texdocdialog.cpp index e2624d0e09..ce9b08b31e 100644 --- a/src/texdocdialog.cpp +++ b/src/texdocdialog.cpp @@ -182,7 +182,10 @@ void TexdocDialog::itemChanged(QTableWidgetItem* item) void TexdocDialog::setPackageNames(const QStringList &packages) { m_packages=packages; - regenerateTable(); + bool checked = false; + if (m_packages.count()==0) checked = true; + ui->cbShowAllPackages->setChecked(checked); + regenerateTable(checked); } void TexdocDialog::setPreferredPackage(const QString &package)