mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
rnc:
issue 21366 : modification of skecther dialog behavior ("sketch validation" is turned to a "close" button)
This commit is contained in:
parent
bcfcd563cf
commit
e8c888fe29
@ -88,7 +88,7 @@ EntityGUI_SketcherDlg::EntityGUI_SketcherDlg( GeometryGUI* GUI, QWidget* parent,
|
||||
topLayout->setMargin( 9 ); topLayout->setSpacing( 6 );
|
||||
|
||||
MainWidget->buttonCancel->setText( tr( "GEOM_BUT_CANCEL" ) );
|
||||
MainWidget->buttonEnd->setText( tr( "GEOM_BUT_END_SKETCH" ) );
|
||||
MainWidget->buttonEnd->setText( tr( "GEOM_BUT_CLOSE" ) );
|
||||
MainWidget->buttonClose->setText( tr( "GEOM_BUT_CLOSE_SKETCH" ) );
|
||||
MainWidget->buttonHelp->setText( tr( "GEOM_BUT_HELP" ) );
|
||||
|
||||
@ -975,7 +975,7 @@ void EntityGUI_SketcherDlg::ClickOnEnd()
|
||||
myCommand.append( ":WW" );
|
||||
}
|
||||
else {
|
||||
// PAL16008 (Sketcher Validation should be equal to Apply&Close)
|
||||
/*// PAL16008 (Sketcher Validation should be equal to Apply&Close)
|
||||
if ( ( Group1Spin->buttonApply->isEnabled() && Group1Spin->isVisible() ) ||
|
||||
( Group2Spin->buttonApply->isEnabled() && Group2Spin->isVisible() ) ||
|
||||
( Group3Spin->buttonApply->isEnabled() && Group3Spin->isVisible() ) ||
|
||||
@ -984,7 +984,7 @@ void EntityGUI_SketcherDlg::ClickOnEnd()
|
||||
( Group2Sel->buttonApply->isEnabled() && Group2Sel->isVisible() ) ||
|
||||
( Group1Sel1Spin->buttonApply->isEnabled() && Group1Sel1Spin->isVisible() ) ) {
|
||||
ClickOnApply();
|
||||
}
|
||||
}*/
|
||||
myIsAllAdded = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user