mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
Integrate undo infrastructure with SoundMacroEditor
This commit is contained in:
@@ -150,7 +150,8 @@ void KeyboardWidget::_moveOnKey(int octave, int key)
|
||||
m_lastOctave = octave;
|
||||
m_lastKey = key;
|
||||
if (m_statusFocus)
|
||||
m_statusFocus->setMessage(QStringLiteral("%1%2").arg(KeyStrings[key]).arg(octave - 1));
|
||||
m_statusFocus->setMessage(QStringLiteral("%1%2 (%3)").
|
||||
arg(KeyStrings[key]).arg(octave - 1).arg(octave * 12 + key));
|
||||
if (m_holding)
|
||||
_startKey(octave, key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user