diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-24 18:55:20 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-24 18:55:20 +0000 |
commit | 944f38cbb3f7f8f516b78b5b0e27770a74cda446 (patch) | |
tree | 0705c9ebf89c7fd8ce384f830cc34e6cdb86c5f9 /muse2/muse/liste | |
parent | 97d78276a49d551ff908b99d343cd3c0960a539b (diff) | |
parent | dc67f442dbb0cd812b96bb4b62831799e8ee003f (diff) |
again merged with trunk ("list/score bugfix")
Diffstat (limited to 'muse2/muse/liste')
-rw-r--r-- | muse2/muse/liste/listedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/liste/listedit.cpp b/muse2/muse/liste/listedit.cpp index 970d43c4..bc90433d 100644 --- a/muse2/muse/liste/listedit.cpp +++ b/muse2/muse/liste/listedit.cpp @@ -242,13 +242,13 @@ void ListEdit::songChanged(int type) else { curPart = 0; curTrack = 0; + liste->blockSignals(true); liste->clear(); for (iPart p = parts()->begin(); p != parts()->end(); ++p) { MidiPart* part = (MidiPart*) (p->second); if (part->sn() == curPartId) curPart = part; EventList* el = part->events(); - liste->blockSignals(true); // p4.0.18 for (iEvent i = el->begin(); i != el->end(); ++i) { EventListItem* item = new EventListItem(liste, i->second, part); for (int col = 0; col < liste->columnCount(); ++col) @@ -260,8 +260,8 @@ void ListEdit::songChanged(int type) liste->scrollToItem(item, QAbstractItemView::EnsureVisible); } } - liste->blockSignals(false); } + liste->blockSignals(false); } if(!curPart) |