diff --git a/sources/elementspanel.cpp b/sources/elementspanel.cpp index 9295368d1..3e42ae4e6 100644 --- a/sources/elementspanel.cpp +++ b/sources/elementspanel.cpp @@ -60,7 +60,7 @@ ElementsPanel::ElementsPanel(QWidget *parent) : // selection unique setSelectionMode(QAbstractItemView::SingleSelection); setColumnCount(1); - setExpandsOnDoubleClick(false); + setExpandsOnDoubleClick(true); header() -> hide(); // drag'n drop autorise diff --git a/sources/elementspanelwidget.cpp b/sources/elementspanelwidget.cpp index 43f413e99..1ec5cb432 100644 --- a/sources/elementspanelwidget.cpp +++ b/sources/elementspanelwidget.cpp @@ -399,10 +399,9 @@ void ElementsPanelWidget::handleCollectionRequest(ElementsCollectionItem *item) if (item -> isElement()) { // il s'agit d'un element launchElementEditor(item -> location()); - } else if (item -> isCategory()) { - // il s'agit d'une categorie - launchCategoryEditor(item -> location()); } + // we could edit it categories, but instead people prefer the double-clic to + // expand/collapse them } /**