Fixed #7174: Do not forget argument number in Library Editor
This commit is contained in:
parent
b48cbde860
commit
a6206ae727
|
@ -266,7 +266,9 @@ void LibraryDialog::editArg()
|
|||
|
||||
LibraryEditArgDialog *d = new LibraryEditArgDialog(0, arg);
|
||||
if (d->exec() == QDialog::Accepted) {
|
||||
unsigned number = arg.nr;
|
||||
arg = d->getArg();
|
||||
arg.nr = number;
|
||||
ui->arguments->selectedItems().first()->setText(getArgText(arg));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue