File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/notation/view/widgets Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -338,16 +338,22 @@ void TransposeDialog::setTransposeChordNames(bool val)
338338 transposeChordNames->setChecked (val);
339339}
340340
341+ void TransposeDialog::setTransposeKeys (bool val)
342+ {
343+ transposeKeys->setChecked (val);
344+ }
345+
341346void TransposeDialog::restorePreviousSettings ()
342347{
343348 TransposeOptions& options = lastUsedOptions ();
344349
345350 setMode (options.mode );
346351 setDirection (options.direction );
352+ setKey (options.key );
347353 setInterval (options.interval );
348354 setUseDoubleSharpsFlats (options.needTransposeDoubleSharpsFlats );
349355 setTransposeChordNames (options.needTransposeChordNames );
350- setKey (options.key );
356+ setTransposeKeys (options.needTransposeKeys );
351357}
352358
353359TransposeOptions& TransposeDialog::lastUsedOptions ()
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ private slots:
7575 void setInterval (int interval);
7676 void setUseDoubleSharpsFlats (bool val);
7777 void setTransposeChordNames (bool val);
78+ void setTransposeKeys (bool val);
7879
7980 static TransposeOptions& lastUsedOptions ();
8081
You can’t perform that action at this time.
0 commit comments