Commit 4cbca9f4 authored by Tomaz  Canabrava's avatar Tomaz Canabrava Committed by Tomaz Canabrava
Browse files

Don't clean up fields when we are in add mode

We could re-utilize the text we wrote on the command pallete
parent 182e624d
......@@ -94,10 +94,6 @@ void QuickCommandsWidget::viewMode()
void QuickCommandsWidget::addMode()
{
ui->command->setPlainText({});
ui->name->setText({});
ui->tooltip->setText({});
ui->btnAdd->hide();
ui->btnSave->show();
ui->btnUpdate->hide();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment