Filemanager: fix OpenWith without config (#12095)

Closes #12094.
reviewable/pr12104/r1
hius07 3 months ago committed by GitHub
parent 617618d587
commit 41191513c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1427,7 +1427,7 @@ function FileManager:showOpenWithDialog(file)
end
-- row: wide button
local associated_providers = DocumentRegistry:getAssociatedProviderKey() -- hash table
if next(associated_providers) ~= nil then
if associated_providers ~= nil and next(associated_providers) ~= nil then
table.insert(buttons, {{
text = _("View defaults for file types"),
callback = function()

Loading…
Cancel
Save