Conductor dock: turn it on in the preferences, off by default (#500)

Showing a selected conductor's properties in the selection-properties
dock is now a preference, on the General page under Appearance:
"Afficher les propriétés d'un conducteur sélectionné dans le panneau
Propriétés de la sélection". It is off by default, so selecting a
conductor does what it did before unless the user turns it on.

This replaces the View-menu toggle, which defaulted to on; that entry
is dropped in the merge with master. Same setting key
(diagrameditor/conductor_properties_panel).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ispyisail
2026-09-27 09:13:55 +13:00
parent 0cb424bd06
commit ff795258c4
3 changed files with 13 additions and 3 deletions
+3 -3
View File
@@ -117,11 +117,11 @@ PropertiesEditorWidget *PropertiesEditorFactory::propertiesEditor(
{
case Conductor::Type: //1001
{
//Feature toggle (#500): when disabled in the View menu, selecting a
//conductor brings up nothing in the dock. Default enabled.
//Off unless enabled in the preferences (General page): selecting
//a conductor then brings up nothing in the dock, as before.
if (!QSettings().value(
QStringLiteral("diagrameditor/conductor_properties_panel"),
true).toBool()) {
false).toBool()) {
return nullptr;
}
//Prototype (#500): single-conductor editing in the dock.