From 31feb7b7b0405c6ddc244093f641db41c8ef1529 Mon Sep 17 00:00:00 2001 From: Levi Jetzer Date: Fri, 21 Aug 2026 16:23:41 +0200 Subject: [PATCH] Show the element editor's Informations tab for Terminal and Thumbnail setTabVisible(1, ...) only allowed Simple and Master, but the tree (updateTree()) and the actual write path (ElementScene::toXml()) both already support elementInformations for Terminal and Thumbnail too -- three independent "is this type allowed" checks that were never reconciled, leaving already-working support unreachable through the UI for those two types. Slave stays excluded here, consistent with having no elementInformations support at either of the other two points either (separate, larger gap, not addressed here). --- sources/editor/ui/elementpropertieseditorwidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sources/editor/ui/elementpropertieseditorwidget.cpp b/sources/editor/ui/elementpropertieseditorwidget.cpp index 5100c71fe..6448bc494 100644 --- a/sources/editor/ui/elementpropertieseditorwidget.cpp +++ b/sources/editor/ui/elementpropertieseditorwidget.cpp @@ -425,7 +425,9 @@ void ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged(int in ui->tabWidget->setTabVisible(1, (type_ == ElementData::Simple || - type_ == ElementData::Master)); + type_ == ElementData::Master || + type_ == ElementData::Terminal || + type_ == ElementData::Thumbnail)); updateTree(); }