1177 { |
1177 { |
1178 int numerator = ui.ringToolSegments->value(); |
1178 int numerator = ui.ringToolSegments->value(); |
1179 int denominator = ringToolDivisions(); |
1179 int denominator = ringToolDivisions(); |
1180 Simplify(numerator, denominator); |
1180 Simplify(numerator, denominator); |
1181 ui.ringToolSegmentsLabel->setText(format( |
1181 ui.ringToolSegmentsLabel->setText(format( |
1182 "<sup>%1</sup>∕<sub>%2</sub>", |
1182 "<sup>%1</sup>\u2215<sub>%2</sub>", |
1183 numerator, |
1183 numerator, |
1184 denominator |
1184 denominator |
1185 )); |
1185 )); |
1186 } |
1186 } |
1187 |
1187 |