Selaa lähdekoodia

Cancel Button Disable Fix

Tom Troppmann 6 vuotta sitten
vanhempi
commit
43926d19ce
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/exampleAlgorithms/PSOAlgotihm.java

+ 1 - 0
src/exampleAlgorithms/PSOAlgotihm.java

@@ -306,6 +306,7 @@ public class PSOAlgotihm implements Algorithm {
 		executePsoAlgoWithCurrentParameters();
 		if(cancel) {
 			reset();
+			disableGuiInput(false);
 			return;
 		}
 		printElapsedTime();