diff --git a/src/gui/client/main-window.lisp b/src/gui/client/main-window.lisp index 4f46e24..530457c 100644 --- a/src/gui/client/main-window.lisp +++ b/src/gui/client/main-window.lisp @@ -409,7 +409,8 @@ (let* ((popup-menu (gui:make-menu nil (_"link menu"))) (x (gui:screen-mouse-x)) (y (gui:screen-mouse-y))) - (gui:make-menubutton popup-menu (_ "Inline") #'open-inline-callback) + (when (inline-possible-p) + (gui:make-menubutton popup-menu (_ "Inline") #'open-inline-callback)) (gui:make-menubutton popup-menu (_ "Add link to bookmarks") #'bookmark-link-callback) (gui:make-menubutton popup-menu (_ "Add link to tour") #'add-to-tour-callback) (gui:make-menubutton popup-menu (_ "Copy link to the clipboard") #'copy-link-callback)