make zoom-in store the new size permanently in the settings.

This commit is contained in:
mae
2009-06-18 16:12:24 +02:00
parent 12ac317d0a
commit c3c98cca78
3 changed files with 11 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ void TextEditorSettings::fontSizeRequested(int pointSize)
{
FontSettings &fs = const_cast<FontSettings&>(m_fontSettingsPage->fontSettings());
fs.setFontSize(pointSize);
emit fontSettingsChanged(m_fontSettingsPage->fontSettings());
m_fontSettingsPage->saveSettings();
}
FontSettings TextEditorSettings::fontSettings() const