refs #769, use role bulk to decide if user can directly write models

* renamed role functions
* renamed buttons
* some formatting
This commit is contained in:
Klaus Basan
2016-09-28 04:15:43 +02:00
committed by Mathew Sutcliffe
parent 3a7c9626d3
commit 7446ffcb80
11 changed files with 54 additions and 29 deletions

View File

@@ -26,7 +26,7 @@ namespace BlackGui
ui(new Ui::CDbDebugDatabaseSetup)
{
ui->setupUi(this);
bool enabled = sGui->isRunningInDeveloperEnvironment();
const bool enabled = sGui->isRunningInDeveloperEnvironment();
this->setEnabled(enabled);
if (!enabled)
{