TechDraw: QGVPage: remove copy paste useless leftover.
This commit is contained in:
committed by
WandererFan
parent
fc105ea34d
commit
ca6a44be85
@@ -291,12 +291,6 @@ void QGVPage::activateHandler(TechDrawHandler* newHandler)
|
||||
|
||||
toolHandler = std::unique_ptr<TechDrawHandler>(newHandler);
|
||||
toolHandler->activate(this);
|
||||
|
||||
// make sure receiver has focus so immediately pressing Escape will be handled by
|
||||
// ViewProviderSketch::keyPressed() and dismiss the active handler, and not the entire
|
||||
// sketcher editor
|
||||
//Gui::MDIView* mdi = Gui::Application::Instance->activeDocument()->getActiveView();
|
||||
//mdi->setFocus();
|
||||
}
|
||||
|
||||
void QGVPage::deactivateHandler()
|
||||
|
||||
Reference in New Issue
Block a user