filemanagercollection: fix disabling 'Export highlights' button (#14917)

This commit is contained in:
hius07 authored and GitHub committed 2026-02-03 16:07:33 +02:00
1 parent 08ea73f733
commit 0244595c6d
1 file changed
+1 -1
@@ -1556,7 +1556,7 @@ end
function FileManagerCollection:genExportHighlightsButton(files, caller_pre_callback, button_disabled)
return {
text = _("Export highlights"),
enabled = self.ui.exporter and not button_disabled,
enabled = self.ui.exporter and not button_disabled or false,
callback = function()
if caller_pre_callback then
caller_pre_callback()