From: nds Date: Tue, 5 Dec 2017 13:34:23 +0000 (+0300) Subject: #2309 Possibility to hide faces X-Git-Tag: V_2.10.0RC~106 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e87a660f6b6458e422376b7c38e23d3fd537261d;p=modules%2Fshaper.git #2309 Possibility to hide faces --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 2c02212bb..032790dcb 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1622,9 +1622,8 @@ bool XGUI_Workshop::prepareForDisplay(const std::set& theObjects) con int anAnswer = QMessageBox::question( desktop(), tr("Show object"), - tr("The following objects are hidden by the '%1' panel:\n %2.\ - \nRemove objects from the panel to be displayed?") - .arg(facesPanel()->windowTitle()).arg(aHiddenObjectNames.join(','), + tr("'%1'\n are hidden by %2:\nRemove objects from the panel to be displayed?") + .arg(aHiddenObjectNames.join(',').arg(facesPanel()->windowTitle()), QMessageBox::Yes | QMessageBox::No, QMessageBox::No)); bool aToBeDisplayed = anAnswer == QMessageBox::Yes;