Browse Source

Cancel Button Disable Fix

Tom Troppmann 6 năm trước cách đây
mục cha
commit
43926d19ce
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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();