Skip to content

Commit 0b68d0d

Browse files
Felix Exnerfmauch
authored andcommitted
Reset the program script during installation contribution
If not the script code got set during the first invocation (after bootup?) So, there was no chance to fetch the code once a connection could not be established, as the popup code was already retreived and the check for an empty string failed.
1 parent 8f89e60 commit 0b68d0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/fzi/externalcontrol/impl/ExternalControlInstallationNodeContribution.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ public boolean isDefined() {
6565

6666
@Override
6767
public void generateScript(ScriptWriter writer) {
68-
68+
// Make sure the program gets requested at least once
69+
urScriptProgram = "";
6970
}
7071

7172
// IP helper functions

0 commit comments

Comments
 (0)