filemanagercollection: fix disabling 'Export highlights' button (#14917)
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user