hide some controls from preferences pages that are not implemented yet
This commit is contained in:
@@ -57,6 +57,8 @@ DlgSettingsEditorImp::DlgSettingsEditorImp( QWidget* parent )
|
||||
: PreferencePage( parent )
|
||||
{
|
||||
this->setupUi(this);
|
||||
this->EnableFolding->hide(); // Switch off until we have an editor with folding
|
||||
|
||||
d = new DlgSettingsEditorP();
|
||||
QColor col;
|
||||
col = Qt::black;
|
||||
|
||||
@@ -38,6 +38,11 @@ DlgSettingsMacroImp::DlgSettingsMacroImp( QWidget* parent )
|
||||
: PreferencePage( parent )
|
||||
{
|
||||
this->setupUi(this);
|
||||
|
||||
// Was never implemented, so hide it
|
||||
this->FileLogCheckBox->hide();
|
||||
this->MacroPath_2->hide();
|
||||
|
||||
if (MacroPath->fileName().isEmpty()) {
|
||||
QDir d(QString::fromUtf8(App::GetApplication().getUserMacroDir().c_str()));
|
||||
MacroPath->setFileName(d.path());
|
||||
|
||||
Reference in New Issue
Block a user