hide some controls from preferences pages that are not implemented yet

This commit is contained in:
wmayer
2019-03-03 22:49:24 +01:00
parent f87fe7e12b
commit 00a5a49416
2 changed files with 7 additions and 0 deletions

View File

@@ -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;

View File

@@ -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());