diff options
Diffstat (limited to 'muse2/muse/appearance.cpp')
-rw-r--r-- | muse2/muse/appearance.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/muse2/muse/appearance.cpp b/muse2/muse/appearance.cpp index 319a8826..0ae3bf6b 100644 --- a/muse2/muse/appearance.cpp +++ b/muse2/muse/appearance.cpp @@ -27,7 +27,6 @@ #include <QFontDialog> #include <QStyleFactory> #include <QToolTip> -#include <QByteArray> #include <QFile> #include <QFileDialog> #include <QFileInfo> @@ -543,7 +542,7 @@ void Appearance::apply() config->fonts[6].setItalic(italic6->isChecked()); config->fonts[6].setBold(bold6->isChecked()); - config->style = themeComboBox->currentText(); + config->style = themeComboBox->currentIndex() == 0 ? QString() : themeComboBox->currentText(); // setting up a new theme might change the fontsize, so re-read fontSize0->setValue(QApplication::font().pointSize()); |