]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#2309 Possibility to hide faces
authornds <nds@opencascade.com>
Tue, 5 Dec 2017 13:34:23 +0000 (16:34 +0300)
committernds <nds@opencascade.com>
Tue, 5 Dec 2017 13:34:23 +0000 (16:34 +0300)
src/XGUI/XGUI_Workshop.cpp

index 2c02212bbe79cd808b3183f89b1880ce2c96e803..032790dcb845354c4a731744e462be306064bb4d 100755 (executable)
@@ -1622,9 +1622,8 @@ bool XGUI_Workshop::prepareForDisplay(const std::set<ObjectPtr>& 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;