Skip to content

Commit

Permalink
better multi selection in instrument dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed May 27, 2013
1 parent 7a1b052 commit 85dea66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mscore/instrdialog.cpp
Expand Up @@ -342,6 +342,7 @@ InstrumentsDialog::InstrumentsDialog(QWidget* parent)
connect(a, SIGNAL(triggered()), SLOT(reject()));
addAction(a);

instrumentList->setSelectionMode(QAbstractItemView::ExtendedSelection);
partiturList->setSelectionMode(QAbstractItemView::SingleSelection);
QStringList header = (QStringList() << tr("Staves") << tr("Visib.") << tr("Clef") << tr("Link.") << tr("Staff type"));
partiturList->setHeaderLabels(header);
Expand Down
1 change: 1 addition & 0 deletions mscore/newwizard.cpp
Expand Up @@ -50,6 +50,7 @@ InstrumentWizard::InstrumentWizard(QWidget* parent)
: QWidget(parent)
{
setupUi(this);
instrumentList->setSelectionMode(QAbstractItemView::ExtendedSelection);
partiturList->setSelectionMode(QAbstractItemView::SingleSelection);
instrumentList->setHeaderLabels(QStringList(tr("Instrument List")));

Expand Down

0 comments on commit 85dea66

Please sign in to comment.