Workbench / alloy furnace - Changed search shortcut to '/'

(makes more sense to me)
This commit is contained in:
Emmanuel BENOîT 2016-07-23 10:11:01 +02:00
parent 35a228b210
commit a38702357e
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ public class TBAFGui
( (TBAFGui) this.parent ).handleFiltering( this.tfSearch.getText( ) ); ( (TBAFGui) this.parent ).handleFiltering( this.tfSearch.getText( ) );
return true; return true;
} else if ( typedChar == 't' || typedChar == 'T' ) { } else if ( typedChar == '/' ) {
this.tfSearch.setFocused( true ); this.tfSearch.setFocused( true );
return true; return true;

View file

@ -137,7 +137,7 @@ public class TBWBGui
} else if ( this.tfSearch.textboxKeyTyped( typedChar , keyCode ) ) { } else if ( this.tfSearch.textboxKeyTyped( typedChar , keyCode ) ) {
this.handleFiltering( this.tfSearch.getText( ) ); this.handleFiltering( this.tfSearch.getText( ) );
} else if ( typedChar == 't' || typedChar == 'T' ) { } else if ( typedChar == '/' ) {
this.tfSearch.setFocused( true ); this.tfSearch.setFocused( true );
} else if ( keyCode == Keyboard.KEY_LEFT && this.bPrevious.enabled ) { } else if ( keyCode == Keyboard.KEY_LEFT && this.bPrevious.enabled ) {