From: mzn Date: Tue, 25 Mar 2008 12:05:51 +0000 (+0000) Subject: Fix for bug IPAL19362 (Qt4 porting: "Setup Plot 2d" confirm box contains 3rd empty... X-Git-Tag: V5_0_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97b2692fe155db947e65979b60cd1e859d9e84ab;p=modules%2Fvisu.git Fix for bug IPAL19362 (Qt4 porting: "Setup Plot 2d" confirm box contains 3rd empty button). --- diff --git a/src/VISUGUI/VisuGUI_SetupPlot2dDlg.cxx b/src/VISUGUI/VisuGUI_SetupPlot2dDlg.cxx index 03afefc2..bd771f2a 100644 --- a/src/VISUGUI/VisuGUI_SetupPlot2dDlg.cxx +++ b/src/VISUGUI/VisuGUI_SetupPlot2dDlg.cxx @@ -471,7 +471,7 @@ void VisuGUI_SetupPlot2dDlg::onVBtnToggled( bool on ) tr( "QUE_WANT_SAME_UNITS" ), tr( "BUT_YES" ), tr( "BUT_NO" ), - 0, 1, 1 ) == 0 ) + 1, 1 ) == 0 ) { for ( i = 0; i < itemList.count(); i++ ) { itemList.at( i )->blockSignals( true );