ui: Added edit project button to stats in overview

This commit is contained in:
Eberhard Graether
2016-04-25 12:39:10 +02:00
parent 55660563c8
commit 69925917bc
9 changed files with 73 additions and 5 deletions
@@ -42,13 +42,12 @@ void CodeController::handleMessage(MessageActivateAll* message)
statsSnippet.locationFile = std::make_shared<TokenLocationFile>(FilePath());
statsSnippet.locationFile->isWholeCopy = true;
statsSnippet.title = ProjectSettings::getInstance()->getFilePath().withoutExtension().fileName();
std::vector<std::string> description = getProjectDescription(statsSnippet.locationFile.get());
std::stringstream ss;
ss << "\n";
ss << "\tProject: " + ProjectSettings::getInstance()->getFilePath().withoutExtension().fileName() + "\n";
if (description.size())
{
ss << "\n";