From 145d04bc0509d6815e8f4f1b1883b8fd3e24202d Mon Sep 17 00:00:00 2001 From: mtn Date: Tue, 10 Nov 2009 11:14:09 +0000 Subject: [PATCH] Cosmetic changes --- src/Plot2d/Plot2d_ViewFrame.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Plot2d/Plot2d_ViewFrame.cxx b/src/Plot2d/Plot2d_ViewFrame.cxx index 450df87e8..b37ab6d5f 100755 --- a/src/Plot2d/Plot2d_ViewFrame.cxx +++ b/src/Plot2d/Plot2d_ViewFrame.cxx @@ -161,7 +161,7 @@ Plot2d_ViewFrame::Plot2d_ViewFrame( QWidget* parent, const QString& title ) myXGridMinorEnabled( false ), myYGridMinorEnabled( false ), myY2GridMinorEnabled( false ), myXGridMaxMajor( 8 ), myYGridMaxMajor( 8 ), myY2GridMaxMajor( 8 ), myXGridMaxMinor( 5 ), myYGridMaxMinor( 5 ), myY2GridMaxMinor( 5 ), - myXMode( 0 ), myYMode( 0 ), mySecondY( false ), isDefTitle(true) + myXMode( 0 ), myYMode( 0 ), mySecondY( false ), isDefTitle( true ) { setObjectName( title ); /* Plot 2d View */ @@ -1003,7 +1003,8 @@ void Plot2d_ViewFrame::onSettings() setTitle( dlg->isY2TitleEnabled(), dlg->getY2Title(), Y2Title, false ); // main title - if( dlg->isMainTitleEnabled() && myTitle != dlg->getMainTitle()) isDefTitle = false; + if( dlg->isMainTitleEnabled() && myTitle != dlg->getMainTitle() ) + isDefTitle = false; setTitle( dlg->isMainTitleEnabled(), dlg->getMainTitle(), MainTitle, true ); // curve type if ( myCurveType != dlg->getCurveType() ) { @@ -1952,7 +1953,8 @@ void Plot2d_ViewFrame::updateTitles() setTitle( myYTitleEnabled, yTitle + yUnits, YTitle, true ); if ( mySecondY ) setTitle( myY2TitleEnabled, y2Title + y2Units, Y2Title, true ); - if(isDefTitle) setTitle( true, aTables.join("; "), MainTitle, true ); + if( isDefTitle ) + setTitle( true, aTables.join("; "), MainTitle, true ); } /*! -- 2.39.2