Skip to content

Commit

Permalink
Merge pull request #5026 from PlungeMaster/master
Browse files Browse the repository at this point in the history
Fix syntax highlight color scheme persistence (fixes #4992 and #4920).
  • Loading branch information
t-paul committed Mar 3, 2024
2 parents e3e5f8e + 7834834 commit 7dda63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/Preferences.cc
Expand Up @@ -355,7 +355,7 @@ void Preferences::on_fontSize_currentIndexChanged(int index)
emit fontChanged(getValue("editor/fontfamily").toString(), intsize);
}

void Preferences::on_syntaxHighlight_currentTextChanged(const QString& s)
void Preferences::on_syntaxHighlight_textActivated(const QString & s)
{
QSettingsCached settings;
settings.setValue("editor/syntaxhighlight", s);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/Preferences.h
Expand Up @@ -31,7 +31,7 @@ public slots:
void on_colorSchemeChooser_itemSelectionChanged();
void on_fontChooser_currentFontChanged(const QFont&);
void on_fontSize_currentIndexChanged(int);
void on_syntaxHighlight_currentTextChanged(const QString&);
void on_syntaxHighlight_textActivated(const QString & s);
void on_openCSGWarningBox_toggled(bool);
void on_cgalCacheSizeMBEdit_textChanged(const QString&);
void on_polysetCacheSizeMBEdit_textChanged(const QString&);
Expand Down

0 comments on commit 7dda63a

Please sign in to comment.