PartDesign: Workbench: comment out switchToDocument inside 'slots'
This causing a crash when opening a previous versioned file while already in part design. Can't predict timing of migration call from signals.
This commit is contained in:
parent
a3a5db33e9
commit
fab4ec990c
|
@ -400,17 +400,17 @@ void Workbench::_switchToDocument(const App::Document* doc)
|
|||
|
||||
void Workbench::slotActiveDocument(const Gui::Document& Doc)
|
||||
{
|
||||
_switchToDocument(Doc.getDocument());
|
||||
// _switchToDocument(Doc.getDocument());
|
||||
}
|
||||
|
||||
void Workbench::slotNewDocument(const App::Document& Doc)
|
||||
{
|
||||
_switchToDocument(&Doc);
|
||||
// _switchToDocument(&Doc);
|
||||
}
|
||||
|
||||
void Workbench::slotFinishRestoreDocument(const App::Document& Doc)
|
||||
{
|
||||
_switchToDocument(&Doc);
|
||||
// _switchToDocument(&Doc);
|
||||
}
|
||||
|
||||
void Workbench::slotDeleteDocument(const App::Document&)
|
||||
|
|
Loading…
Reference in New Issue
Block a user