]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
I reactivate the code to resize the InsetText on a resize event of the main
[lyx.git] / src / lyxfunc.C
index 25b90bc5fd0ef1713f7d74211714e3ed1110f93c..0857b261b34f8faa11f274d3cc3a3188c86705c6 100644 (file)
@@ -674,6 +674,10 @@ FuncStatus LyXFunc::getStatus(kb_action action,
        
        // A few general toggles
        switch (action) {
+       case LFUN_TOOLTIPS_TOGGLE:
+               flag.setOnOff(owner->getDialogs()->tooltipsEnabled());
+               break;
+
        case LFUN_READ_ONLY_TOGGLE:
                flag.setOnOff(buf->isReadonly());
                break;
@@ -1648,6 +1652,10 @@ string const LyXFunc::dispatch(kb_action action, string argument)
                break;
        }
 
+       case LFUN_TOOLTIPS_TOGGLE:
+               owner->getDialogs()->toggleTooltips();
+               break;
+
        default:
                // Then if it was none of the above
                // Trying the BufferView::pimpl dispatch: