From 48747c1e8a76f4ecf5b8a4c31a62d3161e1587aa Mon Sep 17 00:00:00 2001 From: Jan Schuffenhauer Date: Thu, 23 Jan 2020 16:38:52 +0100 Subject: [PATCH] yay updated export works 100% i think --- src/GUI/IntelliPhotoGui.cpp | 5 +++-- src/IntelliHelper/IntelliDatamanager.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/GUI/IntelliPhotoGui.cpp b/src/GUI/IntelliPhotoGui.cpp index 8698b93..4b38c18 100644 --- a/src/GUI/IntelliPhotoGui.cpp +++ b/src/GUI/IntelliPhotoGui.cpp @@ -65,12 +65,13 @@ void IntelliPhotoGui::slotOpen(){ } if(rightFileType){ - //paintingArea->open(fileName); - //TODO remove datamanager funciton and enable painting area function IntelliDatamanager::loadProject(paintingArea,fileName); UpdateGui(); } + else{ + paintingArea->open(fileName); + } } } } diff --git a/src/IntelliHelper/IntelliDatamanager.cpp b/src/IntelliHelper/IntelliDatamanager.cpp index d5f7c9f..936dbf3 100644 --- a/src/IntelliHelper/IntelliDatamanager.cpp +++ b/src/IntelliHelper/IntelliDatamanager.cpp @@ -29,7 +29,7 @@ bool IntelliDatamanager::saveProject(PaintingArea* Canvas, QString filePath){ } } - + out << "\nFormat designed and approved by IntelliPhoto Team 7. All rigths reserved."; openFile.close(); return true; }