From 0b43d080e01e39ef6722c101685d5b21b9a41e6a Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 24 Aug 2005 12:55:42 +0000 Subject: [PATCH] ?Preferences? dialog box: button ?Cancel? should be replaced by ?Close?. --- src/SalomeApp/SalomeApp_PreferencesDlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_PreferencesDlg.cxx b/src/SalomeApp/SalomeApp_PreferencesDlg.cxx index 1914fb4f7..9a225d982 100755 --- a/src/SalomeApp/SalomeApp_PreferencesDlg.cxx +++ b/src/SalomeApp/SalomeApp_PreferencesDlg.cxx @@ -12,7 +12,7 @@ Constructor. */ SalomeApp_PreferencesDlg::SalomeApp_PreferencesDlg( SalomeApp_Preferences* prefs, QWidget* parent ) -: QtxDialog( parent, 0, true, false, OK | Cancel | Apply ), +: QtxDialog( parent, 0, true, false, OK | Close | Apply ), myPrefs( prefs ) { setCaption( tr( "CAPTION" ) ); @@ -26,6 +26,8 @@ myPrefs( prefs ) setFocusProxy( myPrefs ); + setButtonPosition( Right, Close ); + setDialogFlags( AlignOnce ); connect( this, SIGNAL( dlgHelp() ), this, SLOT( onHelp() ) ); -- 2.39.2