zoom in prefs in % too, just like on main menu
This commit is contained in:
parent
06a7a7582b
commit
93660814b1
2 changed files with 12 additions and 6 deletions
|
@ -937,7 +937,7 @@ void PreferenceDialog::updateValues()
|
|||
//
|
||||
// score settings
|
||||
//
|
||||
scale->setValue(prefs.mag);
|
||||
scale->setValue(prefs.mag*100.0);
|
||||
|
||||
defaultPlayDuration->setValue(MScore::defaultPlayDuration);
|
||||
importStyleFile->setText(prefs.importStyleFile);
|
||||
|
@ -1397,7 +1397,7 @@ void PreferenceDialog::apply()
|
|||
int t = updatePeriods[periodIndex].time;
|
||||
prefs.checkUpdateStartup = t;
|
||||
|
||||
prefs.mag = scale->value();
|
||||
prefs.mag = scale->value()/100.0;
|
||||
|
||||
MScore::defaultPlayDuration = defaultPlayDuration->value();
|
||||
|
||||
|
|
|
@ -1599,17 +1599,23 @@
|
|||
<property name="toolTip">
|
||||
<string>default scale for new score views</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string notr="true">%</string>
|
||||
</property>
|
||||
<property name="decimals">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<double>0.100000000000000</double>
|
||||
<double>5.000000000000000</double>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<double>10.000000000000000</double>
|
||||
<double>1600.000000000000000</double>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.200000000000000</double>
|
||||
<double>20.000000000000000</double>
|
||||
</property>
|
||||
<property name="value">
|
||||
<double>1.000000000000000</double>
|
||||
<double>100.000000000000000</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
Loading…
Reference in a new issue