mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Ensure filters shown when Ctrl+F used to focus search field
This commit is contained in:
@@ -942,6 +942,7 @@ public abstract class ItemManager<T extends InventoryItem> extends JPanel {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public void focusSearch() {
|
public void focusSearch() {
|
||||||
|
this.setHideFilters(false); //ensure filters shown
|
||||||
this.mainSearchFilter.getMainComponent().requestFocusInWindow();
|
this.mainSearchFilter.getMainComponent().requestFocusInWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user