Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update viewer after selection clear for OCCT 7.4.0.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetSwitch.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetSwitch.cpp
b/src/ModuleBase/ModuleBase_WidgetSwitch.cpp
index 405ddc1984038896cfa15fe9f562e27aa432a559..98d08af2081e900159fc56fe76d39988384d6888 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetSwitch.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetSwitch.cpp
@@
-59,7
+59,7
@@
int ModuleBase_WidgetSwitch::addPage(ModuleBase_PageBase* thePage, const QString
{
int aSuperCount =
ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip);
{
int aSuperCount =
ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip);
- myCombo->addItem(t
heName
);
+ myCombo->addItem(t
ranslate(theName.toStdString())
);
int aResultCount = myCombo->count();
if (aResultCount == 2)
myCombo->show();
int aResultCount = myCombo->count();
if (aResultCount == 2)
myCombo->show();