]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Dialog.cpp
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / Dialog.cpp
index 5007ac0ba7846e8db65019b571caf616063a26de..65c9a881bbb7e0e1dd61d9142e3cf17c7f878c30 100644 (file)
@@ -122,6 +122,13 @@ Buffer const & Dialog::buffer() const
 }
 
 
+Buffer const & Dialog::documentBuffer() const
+{
+       LASSERT(lyxview_->documentBufferView(), /**/);
+       return lyxview_->documentBufferView()->buffer();
+}
+
+
 void Dialog::showData(string const & data)
 {
        if (isBufferDependent() && !isBufferAvailable())