From: Abdelrazak Younes Date: Mon, 14 May 2007 16:54:27 +0000 (+0000) Subject: restore changed() connection that vanished in revision 18307 with the creation of... X-Git-Tag: 1.6.10~9780 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=58499545074eb4f485c0e7ee5b5ad647cb40b29f;p=lyx.git restore changed() connection that vanished in revision 18307 with the creation of the PreambleModule class. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18313 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/QDocument.cpp b/src/frontends/qt4/QDocument.cpp index 07bf99ca27..b0249e6ddc 100644 --- a/src/frontends/qt4/QDocument.cpp +++ b/src/frontends/qt4/QDocument.cpp @@ -109,6 +109,7 @@ PreambleModule::PreambleModule(): current_id_(0) // with this. (void) new LaTeXHighlighter(preambleTE->document()); setFocusProxy(preambleTE); + connect(preambleTE, SIGNAL(textChanged()), this, SIGNAL(changed())); }