mirror of
https://github.com/robertvokac/time-calc.git
synced 2025-03-25 07:27:49 +01:00
Fixed bug - Visibility could not be switched in ConfigWindow
This commit is contained in:
parent
0f9f32bc32
commit
bd0bc03e38
@ -297,7 +297,7 @@ public class ConfigWindow extends TWindow {
|
|||||||
TimeCalcProperty timeCalcProperty
|
TimeCalcProperty timeCalcProperty
|
||||||
= TimeCalcProperty.forKey(timeCalcPropertyKey);
|
= TimeCalcProperty.forKey(timeCalcPropertyKey);
|
||||||
jComboBox.setSelectedItem(timeCalcConfiguration.getProperty(timeCalcProperty).getValue());
|
jComboBox.setSelectedItem(timeCalcConfiguration.getProperty(timeCalcProperty).getValue());
|
||||||
jComboBox.addPropertyChangeListener(e -> {
|
jComboBox.addActionListener(e -> {
|
||||||
((StringProperty) timeCalcConfiguration.getProperty(timeCalcProperty))
|
((StringProperty) timeCalcConfiguration.getProperty(timeCalcProperty))
|
||||||
.setValue(
|
.setValue(
|
||||||
(String) jComboBox.getSelectedItem());
|
(String) jComboBox.getSelectedItem());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user