fix #23973: Inspector works on only one element after select all similar
This commit is contained in:
parent
2731d27c3b
commit
2242008d4c
1 changed files with 11 additions and 0 deletions
|
@ -3745,6 +3745,11 @@ void MuseScore::selectSimilar(Element* e, bool sameStaff)
|
|||
foreach(Element* e, pattern.el) {
|
||||
score->select(e, SELECT_ADD, 0);
|
||||
}
|
||||
if (score->selectionChanged()) {
|
||||
score->setSelectionChanged(false);
|
||||
SelState ss = score->selection().state();
|
||||
selectionChanged(ss);
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
@ -3779,6 +3784,11 @@ void MuseScore::selectElementDialog(Element* e)
|
|||
score->select(ee, SELECT_ADD, 0);
|
||||
}
|
||||
}
|
||||
if (score->selectionChanged()) {
|
||||
score->setSelectionChanged(false);
|
||||
SelState ss = score->selection().state();
|
||||
selectionChanged(ss);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4540,6 +4550,7 @@ int main(int argc, char* av[])
|
|||
|
||||
for (int i = 0; i < argv.size();) {
|
||||
QString s = argv[i];
|
||||
qDebug() << s;
|
||||
if (s[0] != '-') {
|
||||
++i;
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue