From e87a660f6b6458e422376b7c38e23d3fd537261d Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 5 Dec 2017 16:34:23 +0300 Subject: [PATCH] #2309 Possibility to hide faces --- src/XGUI/XGUI_Workshop.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.39.2