TechDraw: Fix font size issues when exporting to SVG
This commit is contained in:
committed by
WandererFan
parent
5a4373a3c4
commit
fad4db3300
@@ -1374,4 +1374,13 @@ void MDIViewPage::showStatusMsg(const char* s1, const char* s2, const char* s3)
|
||||
}
|
||||
}
|
||||
|
||||
MDIViewPage *MDIViewPage::getFromScene(const QGraphicsScene *scene)
|
||||
{
|
||||
if (scene != nullptr && scene->parent() != nullptr) {
|
||||
return dynamic_cast<MDIViewPage *>(scene->parent());
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
#include <Mod/TechDraw/Gui/moc_MDIViewPage.cpp>
|
||||
|
||||
Reference in New Issue
Block a user