refs #786, follow up / corresponding adjustments based on context changes

* removed reload models menu item
* changed to renamed functions
This commit is contained in:
Klaus Basan
2016-10-23 03:08:43 +02:00
parent c2bf473f3f
commit 514bcdd055
9 changed files with 10 additions and 29 deletions

View File

@@ -103,7 +103,7 @@ namespace BlackGui
{
if (!this->m_completerOwnModels)
{
const QStringList modelStrings = sGui->getIContextSimulator()->getInstalledModels().getModelStringList();
const QStringList modelStrings = sGui->getIContextSimulator()->getModelSet().getModelStringList();
this->m_completerModelSet = new QCompleter(modelStrings, this);
setCompleterParameters(this->m_completerModelSet);
}
@@ -113,7 +113,7 @@ namespace BlackGui
{
if (!this->m_completerOwnModels)
{
const QStringList modelStrings = sGui->getIContextSimulator()->getInstalledModels().getModelStringList();
const QStringList modelStrings = sGui->getIContextSimulator()->getModelSet().getModelStringList();
this->m_completerOwnModels = new QCompleter(modelStrings, this);
setCompleterParameters(this->m_completerOwnModels);
}