Ref T515, some minor adjustments

* use validation status messages for prerequisites
* SwiftGuiStd::onRequestedConsoleMessage
* displayInOverlayWindow for HTML messages
This commit is contained in:
Klaus Basan
2019-01-21 09:00:57 +01:00
committed by Mat Sutcliffe
parent cea6611656
commit 85cf339e04
6 changed files with 27 additions and 12 deletions

View File

@@ -222,12 +222,12 @@ namespace BlackCore
CStatusMessageList msgs;
if (!sApp || !sApp->isNetworkAccessible())
{
msgs.push_back(CStatusMessage(this).error(u"No network interface, simulation will not work properly"));
msgs.push_back(CStatusMessage(this).validationError(u"No network interface, simulation will not work properly"));
}
const CSimulatorInfo simulators = this->simulatorsWithInitializedModelSet();
if (simulators.isNoSimulator())
{
msgs.push_back(CStatusMessage(this).error(u"No model set so far, you need at least one model set. Hint: You can create a model set in the mapping tool, or copy an existing set in the launcher."));
msgs.push_back(CStatusMessage(this).validationError(u"No model set so far, you need at least one model set. Hint: You can create a model set in the mapping tool, or copy an existing set in the launcher."));
}
return msgs;
}