Show the names of patterns in their tool tip

Adjust PatternView::update to show the name of the pattern as the tool
tip (regardless of whether it is a beat and bassline or a melody
pattern).

Override the public slot TrackContentObjectView::update for
AutomationPatternView and BBTCOView. Implement it similar to
PatternView::update.
This commit is contained in:
Michael Gregorius
2017-07-19 20:34:58 +02:00
parent 379e1020ab
commit 9d92ea2cca
5 changed files with 19 additions and 12 deletions

View File

@@ -44,6 +44,7 @@ public:
public slots:
/// Opens this view's pattern in the global automation editor
void openInAutomationEditor();
virtual void update();
protected slots:

View File

@@ -98,6 +98,8 @@ public:
}
void setColor( QColor _new_color );
public slots:
virtual void update();
protected slots:
void openInBBEditor();