mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-09 03:46:18 -04:00
parent
532ba6ec2f
commit
8f2afdfcff
@ -195,6 +195,9 @@ class ModListPageSkin extends SkinBase<ModListPage> {
|
|||||||
Node oldToolbar = toolbarPane.getCurrentNode();
|
Node oldToolbar = toolbarPane.getCurrentNode();
|
||||||
if (newToolbar != oldToolbar) {
|
if (newToolbar != oldToolbar) {
|
||||||
toolbarPane.setContent(newToolbar, ContainerAnimations.FADE.getAnimationProducer());
|
toolbarPane.setContent(newToolbar, ContainerAnimations.FADE.getAnimationProducer());
|
||||||
|
if (newToolbar == searchBar) {
|
||||||
|
searchField.requestFocus();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user