diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-10-02 18:54:37 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-10-02 18:54:37 +0000 |
commit | 9200bb81f55b0d33e0a61af0112f1ca294375554 (patch) | |
tree | 02fadcb2723605bb514e4a25d66e1c1451edb000 /muse2/muse | |
parent | 7616dd54d964e86393cdfa6cc3e5c2df811a0437 (diff) |
some rework on SigEdit
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/master/lmaster.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/muse2/muse/master/lmaster.cpp b/muse2/muse/master/lmaster.cpp index a2cc8538..ce6010c7 100644 --- a/muse2/muse/master/lmaster.cpp +++ b/muse2/muse/master/lmaster.cpp @@ -601,7 +601,8 @@ void LMaster::itemDoubleClicked(QTreeWidgetItem* i) tempo_editor->selectAll(); } else if (editedItem->getType() == LMASTER_SIGEVENT) { // Edit signatur value: - sig_editor->setValue(editedItem->text(LMASTER_VAL_COL)); + //sig_editor->setValue(editedItem->text(LMASTER_VAL_COL)); + sig_editor->setValue(((LMasterSigEventItem*)editedItem)->getEvent()->sig); sig_editor->setGeometry(itemRect); sig_editor->show(); sig_editor->setFocus(); @@ -923,7 +924,7 @@ LMasterSigEventItem::LMasterSigEventItem(QTreeWidget* parent, const AL::SigEvent int msec = int((time - (min*60 + sec)) * 1000.0); c2.sprintf("%03d:%02d:%03d", min, sec, msec); c3 = "Timesig"; - c4.sprintf("%d/%d", ev->sig.z, ev->sig.n); + c4.sprintf("%d / %d", ev->sig.z, ev->sig.n); setText(0, c1); setText(1, c2); setText(2, c3); |