Skip to content

Commit

Permalink
Library editor: Preselect pin name when opening pin properties dialog (
Browse files Browse the repository at this point in the history
  • Loading branch information
EmbedME authored and ubruhin committed May 24, 2019
1 parent 9be8db0 commit a7dffab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ SymbolPinPropertiesDialog::SymbolPinPropertiesDialog(SymbolPin& pin,
mUi->spbPosY->setValue(mSymbolPin.getPosition().getY().toMm());
mUi->spbRotation->setValue(mSymbolPin.getRotation().toDeg());
mUi->spbLength->setValue(mSymbolPin.getLength()->toMm());

// preselect name
mUi->edtName->selectAll();
}

SymbolPinPropertiesDialog::~SymbolPinPropertiesDialog() noexcept {
Expand Down

0 comments on commit a7dffab

Please sign in to comment.