Skip to content

Fix search and pinned button#930

Merged
TokisanGames merged 3 commits intoTokisanGames:asset_dock_46from
aidandavey:AssetDock-fixes
Feb 2, 2026
Merged

Fix search and pinned button#930
TokisanGames merged 3 commits intoTokisanGames:asset_dock_46from
aidandavey:AssetDock-fixes

Conversation

@aidandavey
Copy link
Contributor

This fixes the search function in the asset dock in 4.6

For some reason, the asset dock is not fully initialized when _ready() is called - and _ready() exits early in this case, so the text_changed and button press signal connections, and the icon set up was being skipped. I moved all of this to the initialize function.

The pinned button - the asset dock was not finding a Window as grandparent therefore thought it was still docked - the new structure seems to have added another layer so now we need to look for the great-grandparent!
Added a check so that we can reset the window variable to null if we are docked and use the validity of the window object to determine whether the pin button should be visible or not.

@TokisanGames
Copy link
Owner

Thank you. I'll bring it into my PR and work on it there.

@TokisanGames TokisanGames merged commit f331b77 into TokisanGames:asset_dock_46 Feb 2, 2026
15 checks passed
@aidandavey aidandavey deleted the AssetDock-fixes branch February 2, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants