From: vsv Date: Wed, 19 Mar 2008 14:22:30 +0000 (+0000) Subject: Empty list of objects to delete (bug 19263) fix X-Git-Tag: V5_0_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=89ddec5a6bb7f1ccd95e775d901e0f84cfe68b14;p=modules%2Fgeom.git Empty list of objects to delete (bug 19263) fix --- diff --git a/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx b/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx index 107e2eca5..20fd8d847 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx +++ b/src/GEOMToolsGUI/GEOMToolsGUI_DeleteDlg.cxx @@ -52,7 +52,7 @@ GEOMToolsGUI_DeleteDlg::GEOMToolsGUI_DeleteDlg( QWidget* parent, const QStringLi QLabel* lab = new QLabel( tr( "GEOM_REALLY_DELETE" ).arg( objects.count() ), this ); QTextBrowser* viewer = new QTextBrowser( this ); - viewer->setText( QString( "- " ).arg( objects.join( "
-" ) ) ); + viewer->setText( QString( "-%1" ).arg( objects.join( "
-" ) ) ); QPushButton* buttonYes = new QPushButton( tr( "GEOM_BUT_YES" ), this ); QPushButton* buttonNo = new QPushButton( tr( "GEOM_BUT_NO" ), this );