Revert "check if modal is opened before closing file menu"

This reverts commit d65d08c495.
This commit is contained in:
Polina
2026-02-18 14:31:23 +03:00
parent d65d08c495
commit f9b59d0655

View File

@ -901,8 +901,6 @@ define([
btnSearch.pressed && btnSearch.toggle(false);
if ( this.leftMenu.menuFile.isVisible() ) {
if (Common.Utils.ModalWindow.isVisible())
return true;
if (Common.UI.HintManager.needCloseFileMenu())
this.leftMenu.menuFile.hide();
return false;