refs #720, finetuning

* show menus even if DB is not present
* avoid selection of too big data set (which takes to long to handle)
* remaining renamings
* show all sims in menu, even if not intalled
This commit is contained in:
Klaus Basan
2016-08-09 02:39:25 +02:00
committed by Mathew Sutcliffe
parent ecfe4ab1fc
commit 227262c2cc
3 changed files with 14 additions and 9 deletions

View File

@@ -853,9 +853,6 @@ namespace BlackGui
{
CDbMappingComponent *mapComp = mappingComponent();
Q_ASSERT_X(mapComp, Q_FUNC_INFO, "no mapping component");
const bool canConnectDb = sGui->getWebDataServices()->canConnectSwiftDb();
if (!canConnectDb) { this->nestedCustomMenu(menuActions); return; }
if (!mapComp->currentModelView()->isEmpty() && mapComp->currentModelView()->getMenu().testFlag(CViewBaseNonTemplate::MenuCanStashModels))
{
menuActions.addMenuStash();