diff main/PreferencesDialog.cpp @ 234:e3ff897a60bf

* Ensure plugin version is updated when a transform is re-run using a newer plugin -- so that the plugin version saved in the session corresponds with the one that was actually used, not the one previously specified * Fix uninitialised font size in preferences -- was causing all sorts of grief
author Chris Cannam
date Mon, 28 Jan 2008 17:43:44 +0000
parents d7ded015af32
children 99fa3387dfef
line wrap: on
line diff
--- a/main/PreferencesDialog.cpp	Wed Jan 23 18:09:50 2008 +0000
+++ b/main/PreferencesDialog.cpp	Mon Jan 28 17:43:44 2008 +0000
@@ -160,6 +160,7 @@
     QSpinBox *fontSize = new QSpinBox;
     int fs = prefs->getPropertyRangeAndValue("View Font Size", &min, &max,
                                              &deflt);
+    m_viewFontSize = fs;
     fontSize->setMinimum(min);
     fontSize->setMaximum(max);
     fontSize->setSuffix(" pt");