]> git.lyx.org Git - features.git/commitdiff
use owner instead of owner->view()->owner
authorAbdelrazak Younes <younes@lyx.org>
Sun, 17 Sep 2006 10:20:45 +0000 (10:20 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 17 Sep 2006 10:20:45 +0000 (10:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15031 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyxfunc.C

index a861048e66262123a5d47837340d967146eb1c07..7cffa284ffc796853604471297646705c2359165 100644 (file)
@@ -1611,7 +1611,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                                view()->buffer()->markDirty();
 
                        if (view()->cursor().inTexted()) {
-                               view()->owner()->updateLayoutChoice();
+                               owner->updateLayoutChoice();
                        }
                }
        }