]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
Move init() back to LyXView
[lyx.git] / src / lyxfunc.C
index a5092c264337581f996ba291a35e6ccc3919e7ab..26a1b6aae34ee20166b5e8bd1e6852d7bdbe276f 100644 (file)
@@ -1614,7 +1614,7 @@ string const LyXFunc::dispatch(kb_action action, string argument)
                // Of course we should only do the resize and the textcache.clear
                // if values really changed...but not very important right now. (Lgb)
                // All visible buffers will need resize
-               owner->resize();
+               owner->view()->resize();
                // We also need to empty the textcache so that
                // the buffer will be formatted correctly after
                // a zoom change.