mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Auto-select text in EditInstructionDialog
This commit is contained in:
parent
035aa52cca
commit
a02753f866
@ -33,6 +33,7 @@ QString EditInstructionDialog::getInstruction() const
|
|||||||
void EditInstructionDialog::setInstruction(const QString &instruction)
|
void EditInstructionDialog::setInstruction(const QString &instruction)
|
||||||
{
|
{
|
||||||
ui->lineEdit->setText(instruction);
|
ui->lineEdit->setText(instruction);
|
||||||
|
ui->lineEdit->selectAll();
|
||||||
updatePreview(instruction);
|
updatePreview(instruction);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user