]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Minor bug fix on "Do you want to close study" message.
authorabn <adrien.bruneton@cea.fr>
Mon, 15 Sep 2014 12:37:30 +0000 (14:37 +0200)
committerabn <adrien.bruneton@cea.fr>
Mon, 15 Sep 2014 12:37:30 +0000 (14:37 +0200)
src/STD/STD_Application.cxx

index 032840bb51f61a6b6fb6ef3412881bd7948d971c..994edd195e08b961566b3b1b5f0ab3c31628b29e 100755 (executable)
@@ -459,7 +459,7 @@ bool STD_Application::isPossibleToClose( bool& closePermanently )
 
 int STD_Application::closeChoice( const QString& docName )
 {
-  int answer = SUIT_MessageBox::question( desktop(), tr( "CLOSE_STUDY" ), tr( "CLOSE_QUESTION" ).arg( docName ),
+  int answer = SUIT_MessageBox::question( desktop(), tr( "CLOSE_STUDY" ), tr( "CLOSE_QUESTION" ),
                                           SUIT_MessageBox::Save | SUIT_MessageBox::Discard | SUIT_MessageBox::Cancel,
                                           SUIT_MessageBox::Save );