GraphViewer: Fixed scale of saved PNG/SVG

This commit is contained in:
matlabbe
2017-03-05 11:55:22 -05:00
parent d927b82020
commit 867e8727c1
2 changed files with 13 additions and 2 deletions
+1
View File
@@ -594,6 +594,7 @@ bool DatabaseViewer::openDatabase(const QString & path)
{
pathDatabase_ = UDirectory::getDir(path.toStdString()).c_str();
databaseFileName_ = UFile::getName(path.toStdString());
ui_->graphViewer->setWorkingDirectory(pathDatabase_);
// look if there are saved parameters
ParametersMap parameters = dbDriver_->getLastParameters();