ui: Added edit project button to stats in overview
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user