summaryrefslogtreecommitdiffstats
path: root/parts/documentation/docglobalconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/docglobalconfigwidget.cpp')
-rw-r--r--parts/documentation/docglobalconfigwidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/parts/documentation/docglobalconfigwidget.cpp b/parts/documentation/docglobalconfigwidget.cpp
index cb6c3776..b27cb5f9 100644
--- a/parts/documentation/docglobalconfigwidget.cpp
+++ b/parts/documentation/docglobalconfigwidget.cpp
@@ -62,7 +62,9 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
{
(*it)->loadCatalogConfiguration( m_View );
}
+ connect( m_View, TQT_SIGNAL(itemActivated()), this, TQT_SLOT(editCollectionButtonClicked()) );
+
TDEConfig *config = m_part->config();
//read full text search settings
config->setGroup("htdig");
@@ -145,6 +147,7 @@ void DocGlobalConfigWidget::editCollectionButtonClicked()
{
item->docPlugin()->deleteCatalogConfiguration(item); // this removes the old entry by name
item->docPlugin()->editCatalogConfiguration(item, dlg.title(), dlg.url());
+ activeView()->sort();
}
}