fix #25765 : Fix crash when clicking bar time

setScore() was overridden to an empty function
so the score was never set. Now using the setScore()
inherited from MuseScoreView
This commit is contained in:
Dag Henning Liodden Sørbø 2014-08-14 19:12:08 +02:00
parent fe484097e4
commit ccc091130b

View file

@ -85,13 +85,11 @@ class PianorollEditor : public QMainWindow, public MuseScoreView {
virtual ~PianorollEditor();
void setStaff(Staff* staff);
// Score* score() const { return _score; }
void heartBeat(Seq*);
virtual void dataChanged(const QRectF&);
virtual void updateAll();
virtual void adjustCanvasPosition(const Element*, bool);
virtual void setScore(Score*) {}
virtual void removeScore();
virtual void changeEditElement(Element*);
virtual QCursor cursor() const;