[trunk r.3583] Edit text style dlg box: only changes to Title are accepted

• Oct 15, 2010 - 22:28
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Setup: SVN rev. 3583, Ubuntu 10.04, Qt SDK 10.02 (Qt lib 4.6.2)

Steps:
1) Open any score
2) Menu "Style | Edit text style..."
3) change some data for any style expect the first ("Title")
4) Press OK
5) re-open the text style dlg box

Result: Changes made in step 3) are not retained.

Expected result: Changes made in step 3) are retained.

The issue seems to be related to the for loop in file textstyle.cpp, function void TextStyleDialog::apply() (lines 127-134): the loop always breaks out at the first iteration.

M.


Comments