Skip to content

Commit

Permalink
MyControl: rename isValid() to canDisable()
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Sep 12, 2017
1 parent 0f6fc7d commit 52f3c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/src/main/java/jme3utilities/controls/DelayControl.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protected void enableSlave(Control slave) {
* @return true if enableSlave() can enable the control, false otherwise
*/
protected boolean isValidSlave(Control slave) {
boolean result = MyControl.isValid(slave);
boolean result = MyControl.canDisable(slave);
return result;
}
}

0 comments on commit 52f3c9e

Please sign in to comment.