changeset 565:0a7cb6112657

The line and column indicators were not translated. Done it right now. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@809 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Thu, 09 Oct 2008 10:25:49 +0000
parents a8d2607b2e32
children c12c9b26e269
files src/mainwindow.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/mainwindow.cpp	Thu Oct 09 09:04:35 2008 +0000
+++ b/src/mainwindow.cpp	Thu Oct 09 10:25:49 2008 +0000
@@ -1201,6 +1201,11 @@
             highlighterAction->setStatusTip( tr("Set the syntax highlightning to ") + highlighterName );
             i++;
         }
+
+        // Translate the line and column indicators in the statusbar.
+        int line, column;
+        txtedSourceCode->getCursorPosition( &line, &column );
+        setStatusBarCursorPosInfo( line, column );
     } 
     else {
         QWidget::changeEvent(event);