]> git.lyx.org Git - features.git/blobdiff - src/mathed/formula.C
mathed108.diff
[features.git] / src / mathed / formula.C
index 31af423668c2985d0b523bb75415fee006172d9f..d761dd5cd92a4d569b2c21a6c855ad2368a6a5b1 100644 (file)
@@ -271,6 +271,14 @@ InsetFormula::localDispatch(BufferView * bv, kb_action action,
                        updateLocal(bv, true);
                        break;
                }
+               
+               case LFUN_PASTESELECTION:
+               {
+                       string const clip = bv->getClipboard();
+               if (!clip.empty())
+                               par(mathed_parse(clip));
+                       break;
+               }
 
                default:
                        result = InsetFormulaBase::localDispatch(bv, action, arg);