Skip to content

Commit

Permalink
hide some controls from preferences pages that are not implemented yet
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Mar 3, 2019
1 parent 2b0d347 commit d28e6a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gui/DlgEditorImp.cpp
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions src/Gui/DlgSettingsMacroImp.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit d28e6a6

Please sign in to comment.