diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-10-23 11:47:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-10-23 11:47:22 +0900 |
commit | 91d8d752c79df1bb4db425affd34116ec1157dd7 (patch) | |
tree | 82d64497473f52b82507e8883134db881f24188a /parts/documentation/docglobalconfigwidget.cpp | |
parent | 250abe522b96533bb9b34eef94282e195f67aa40 (diff) | |
download | tdevelop-91d8d752c79df1bb4db425affd34116ec1157dd7.tar.gz tdevelop-91d8d752c79df1bb4db425affd34116ec1157dd7.zip |
Fixed up documentation config list sort order. Added mouse shortcut for edit items in the list.
This relates to bug 1859.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/documentation/docglobalconfigwidget.cpp')
-rw-r--r-- | parts/documentation/docglobalconfigwidget.cpp | 3 |
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(); } } |