Skip to content

Commit

Permalink
Fix comboBox compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Airsaid committed Jul 14, 2021
1 parent 03dd1d3 commit d17edd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,6 @@ public int getTranslationInterval() {
}

public void setTranslationInterval(int intervalTime) {
translationIntervalComboBox.setItem(String.valueOf(intervalTime));
translationIntervalComboBox.setSelectedItem(String.valueOf(intervalTime));
}
}

0 comments on commit d17edd0

Please sign in to comment.