From 071d214929e128c5bafcb258e8bebe7a5e9d5cad Mon Sep 17 00:00:00 2001 From: imn Date: Fri, 20 Nov 2015 14:50:33 +0300 Subject: [PATCH] Additional corrections --- src/PyViewer/PyViewer_ViewWindow.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/PyViewer/PyViewer_ViewWindow.cxx b/src/PyViewer/PyViewer_ViewWindow.cxx index 8a674c3e5..47a9a4582 100644 --- a/src/PyViewer/PyViewer_ViewWindow.cxx +++ b/src/PyViewer/PyViewer_ViewWindow.cxx @@ -38,6 +38,7 @@ #include #include #include +#include /*! \class PyViewer_ViewWindow @@ -72,7 +73,7 @@ void PyViewer_ViewWindow::initLayout() connect( my_TextEditor->document(), SIGNAL( modificationChanged( bool ) ), this, SLOT( setWindowModified( bool ) ) ); - //statusBar()->showMessage( tr("STS_READY") ); + statusBar()->showMessage( tr("STS_READY") ); } } @@ -451,8 +452,8 @@ void PyViewer_ViewWindow::loadFile( const QString &theFilePath ) setCurrentFile( theFilePath ); aFile.close(); - /*if ( isExternal() ) - statusBar()->showMessage( tr( "STS_F_LOADED" ), 2000 ); */ + if ( isExternal() ) + statusBar()->showMessage( tr( "STS_F_LOADED" ), 2000 ); } /*! @@ -477,8 +478,8 @@ bool PyViewer_ViewWindow::saveFile( const QString &theFilePath ) setCurrentFile( theFilePath ); aFile.close(); - /*if ( isExternal() ) - statusBar()->showMessage( tr( "STS_F_SAVED" ), 2000 ); */ + if ( isExternal() ) + statusBar()->showMessage( tr( "STS_F_SAVED" ), 2000 ); return true; } -- 2.39.2