X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPlot2d%2FPlot2d_SetupCurveDlg.cxx;h=ab4f84afc6caee3f54aacbc0ef59042e3f2ed8b8;hb=a201d7036900b98e349cc5289761e0ac054f3291;hp=0ba8c79f2429e77688c6d3ede890c645f43ac69d;hpb=48328b896e01f5abda305cbd24654a19d1db843f;p=modules%2Fgui.git diff --git a/src/Plot2d/Plot2d_SetupCurveDlg.cxx b/src/Plot2d/Plot2d_SetupCurveDlg.cxx index 0ba8c79f2..ab4f84afc 100644 --- a/src/Plot2d/Plot2d_SetupCurveDlg.cxx +++ b/src/Plot2d/Plot2d_SetupCurveDlg.cxx @@ -26,7 +26,9 @@ #include "Plot2d_SetupCurveDlg.h" #include +#ifndef NO_SUIT #include +#endif #include #include @@ -162,7 +164,9 @@ Plot2d_SetupCurveDlg::Plot2d_SetupCurveDlg( QWidget* parent ) connect( myOkBtn, SIGNAL( clicked() ), this, SLOT( accept() ) ); connect( myCancelBtn, SIGNAL( clicked() ), this, SLOT( reject() ) ); +#ifndef NO_SUIT SUIT_Tools::centerWidget( this, parent ); +#endif updatePreview(); }