diff options
| author | 2008-11-12 17:11:05 +0000 | |
|---|---|---|
| committer | 2008-11-12 17:11:05 +0000 | |
| commit | e9bdaa29e39de374d65bfb6555f191050fb6463d (patch) | |
| tree | 1bd885aa0b71927bbf515b9cc1fc21f76f583e2d /src/modules/editor | |
| parent | fixed a typo in kvs documentation (diff) | |
| download | KVIrc-e9bdaa29e39de374d65bfb6555f191050fb6463d.tar.gz KVIrc-e9bdaa29e39de374d65bfb6555f191050fb6463d.tar.bz2 KVIrc-e9bdaa29e39de374d65bfb6555f191050fb6463d.zip | |
some fixes around.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2849 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/editor')
| -rw-r--r-- | src/modules/editor/scripteditor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/editor/scripteditor.cpp b/src/modules/editor/scripteditor.cpp index ad6b53b77..1b6ee2841 100644 --- a/src/modules/editor/scripteditor.cpp +++ b/src/modules/editor/scripteditor.cpp @@ -767,8 +767,7 @@ KviScriptEditorImplementation::KviScriptEditorImplementation(QWidget * par) connect(m_pFindLineEdit,SIGNAL(returnPressed()),m_pEditor,SLOT(slotFind())); connect(m_pFindLineEdit,SIGNAL(returnPressed()),this,SLOT(slotFind())); - connect(m_pEditor,SIGNAL(keyPressed()),this,SLOT(updateRowColLabel())); - connect(m_pEditor,SIGNAL(textChanged()),this,SLOT(updateRowColLabel())); + connect(m_pEditor,SIGNAL(cursorPositionChanged()),this,SLOT(updateRowColLabel())); connect(m_pEditor,SIGNAL(selectionChanged()),this,SLOT(updateRowColLabel())); m_lastCursorPos = 0; } @@ -927,7 +926,6 @@ void KviScriptEditorImplementation::updateRowColLabel() { if(m_lastCursorPos==m_pEditor->textCursor().position()) return; - int iRow = m_pEditor->textCursor().blockNumber(); int iCol = m_pEditor->textCursor().columnNumber(); QString szTmp; |
