filemanagerfilesearcher: fix menu appearance (#13465)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled

This commit is contained in:
hius07
2025-03-27 17:13:37 +02:00
committed by GitHub
parent d94a9d016d
commit 2a10f7188b

View File

@@ -27,7 +27,7 @@ local FileSearcher = InputContainer:extend{
function FileSearcher:init()
self:registerKeyEvents()
if self.ui.file_chooser then
if not self.ui.document then
self.ui.menu:registerToMainMenu(self)
end
end