Fix for "0052732: OCC viewer is not switched back to 3D mode after closing Create Polyline dialog box" issue

This commit is contained in:
ana 2015-05-20 13:22:35 +03:00
parent e38148a840
commit 38f42c5163
2 changed files with 1 additions and 11 deletions

View File

@ -162,6 +162,7 @@ EntityGUI_PolylineDlg::EntityGUI_PolylineDlg
EntityGUI_PolylineDlg::~EntityGUI_PolylineDlg()
{
erasePreview();
myEditorWidget->SetViewer2DMode(false);
}
//=================================================================================
@ -381,16 +382,6 @@ bool EntityGUI_PolylineDlg::ClickOnApply()
return true;
}
//=================================================================================
// function : ClickOnCancel()
// purpose :
//=================================================================================
void EntityGUI_PolylineDlg::ClickOnCancel()
{
myEditorWidget->SetViewer2DMode(false);
GEOMBase_Skeleton::ClickOnCancel();
}
//=================================================================================
// function : processStartedSubOperation
// purpose :

View File

@ -152,7 +152,6 @@ protected slots:
void ClickOnOk();
bool ClickOnApply();
void ClickOnCancel();
void processStartedSubOperation( QWidget*, bool );
void processFinishedSubOperation( QWidget* );
void SetEditCurrentArgument( bool );