From: imn Date: Fri, 20 Nov 2015 11:50:33 +0000 (+0300) Subject: Additional corrections X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=071d214929e128c5bafcb258e8bebe7a5e9d5cad;p=modules%2Fgui.git Additional corrections --- 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; }