ui: Updates for release

* updated color scheme highlight colors
* fixed highlight color resetting
* prevent project file being save with no changes
* fixed MessageListener crash due to alive flag being set too late
* new edit project icon
This commit is contained in:
Eberhard Graether
2016-04-26 16:40:09 +02:00
parent 279f7410d3
commit fd905f76e5
10 changed files with 60 additions and 29 deletions
+7 -2
View File
@@ -15,6 +15,7 @@
#include "component/view/MainView.h"
#include "component/view/ViewFactory.h"
#include "data/StorageCache.h"
#include "isTrial.h"
#include "LicenseChecker.h"
#include "settings/ApplicationSettings.h"
#include "settings/ColorScheme.h"
@@ -120,7 +121,7 @@ void Application::loadProject(const FilePath& projectSettingsFilePath)
Project::ProjectState state = m_project->load(projectSettingsFilePath);
if (state == Project::PROJECT_OUTDATED)
{
if (m_hasGUI)
if (m_hasGUI && !isTrial())
{
std::vector<std::string> options;
options.push_back("Yes");
@@ -182,6 +183,10 @@ void Application::saveProject(const FilePath& projectSettingsFilePath)
{
LOG_ERROR("No Project Settings File defined");
}
else
{
MessageStatus("Project saved").dispatch();
}
}
void Application::handleMessage(MessageActivateWindow* message)
@@ -213,7 +218,7 @@ void Application::handleMessage(MessageLoadProject* message)
}
}
if (message->forceRefresh)
if (message->forceRefresh && !isTrial())
{
if (m_hasGUI)
{