Fix "Rename from Parent" not visible after the parent item changes Close #5542

This commit is contained in:
Tom Najdek 2025-09-15 22:56:52 +02:00
parent 91a74ed063
commit 516d230647
No known key found for this signature in database
GPG key ID: EEC61A7B4C667D77

View file

@ -319,6 +319,10 @@
}
notify(event, _type, ids, _extraData) {
if (ids.includes(this.item?.parentItem?.id)) {
// Ensure the "Rename from Parent" button is visible after the parent item changes (#5542)
this._resetRenderedFlags();
}
if (event != 'modify' || !this.item?.id || !ids.includes(this.item.id)) return;
// Wait for the render finish and then refresh