Skip to content

Commit d1f7bf6

Browse files
committed
Add curStaPlaying true condition
1 parent 6fc7619 commit d1f7bf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lifecompanion-plugins/aac4all-wp2-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repositories {
1616
maven { url 'https://jitpack.io' }
1717
}
1818

19-
version = "1.0.8"
19+
version = "1.0.9"
2020

2121
dependencies {
2222
compileOnly "org.lifecompanion:lc-app:$lifecompanionAppVersion"

lifecompanion-plugins/aac4all-wp2-plugin/src/main/java/org/lifecompanion/plugin/aac4all/wp2/controller/AAC4AllWp2Controller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private void initCurSta(LCConfigurationI configuration) {
121121
curStaChangeListener = (obs, ov, nv) -> {
122122
try {
123123
//HashSet<Character> acceptedCharact = new HashSet<>(curStaCharacters.chars().mapToObj(c -> (char) c).collect(Collectors.toSet()));
124-
if (this.configuration != null) {
124+
if (this.configuration != null && curStaPlaying==true ) {
125125
this.configuration.getAllComponent()
126126
.values()
127127
.stream()

0 commit comments

Comments
 (0)