PianoRoll: reset last note volume/panning when clearing project
In order to get a uniform behaviour when starting with a new project or opening another project, reset volume and panning of last edited note so new placed notes have default volume and panning. Closes #644.
This commit is contained in:
@@ -53,6 +53,9 @@ class PianoRoll : public QWidget, public SerializingObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
/*! \brief Resets settings to default when e.g. creating a new project */
|
||||
void reset();
|
||||
|
||||
void setCurrentPattern( pattern * _new_pattern );
|
||||
|
||||
inline void stopRecording()
|
||||
|
||||
Reference in New Issue
Block a user