]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/InsertTableWidget.cpp
Cleanup private part of Layout Box on destructor (probably not really an
[lyx.git] / src / frontends / qt4 / InsertTableWidget.cpp
index 4ff38099ede2c1284e2dc14b077038534ea2fa2a..32dfe9eb4ed0d635088e64f1014b1dbbed4c6433 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "FuncStatus.h"
 #include "FuncRequest.h"
-#include "LyXFunc.h"
+#include "LyX.h"
 
 #include <QMouseEvent>
 #include <QPainter>
@@ -108,7 +108,6 @@ void InsertTableWidget::mouseReleaseEvent(QMouseEvent * /*event*/)
 {
        if (underMouse_) {
                QString const data = QString("%1 %2").arg(bottom_).arg(right_);
-               theLyXFunc().setLyXView(&lyxView_);
                lyx::dispatch(FuncRequest(LFUN_TABULAR_INSERT, fromqstr(data)));
        }
        // emit signal
@@ -156,4 +155,4 @@ void InsertTableWidget::updateParent()
 } // namespace frontend
 } // namespace lyx
 
-#include "InsertTableWidget_moc.cpp"
+#include "moc_InsertTableWidget.cpp"