Skip to content

Commit 79257fd

Browse files
Small fix for the ScaledSliderRepresentation.java to allow disabling while keeping is selectable
Replaced the function to disabled the Node element to disable the slider in it since disabling the Node automatically make it non clickable anymore
1 parent 4172884 commit 79257fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/ScaledSliderRepresentation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public void updateChanges()
408408
{
409409
super.updateChanges();
410410
if (dirty_enablement.checkAndClear())
411-
jfx_node.setDisable(! enabled);
411+
slider.setDisable(!enabled);
412412
if (dirty_layout.checkAndClear())
413413
{
414414
final boolean horizontal = model_widget.propHorizontal().getValue();

0 commit comments

Comments
 (0)