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

We could re-utilize the text we wrote on the command pallete
wilder
Tomaz Canabrava 4 years ago committed by Tomaz Canabrava
parent 182e624d17
commit 4cbca9f4f5
  1. 4
      src/plugins/QuickCommands/quickcommandswidget.cpp

@ -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();

Loading…
Cancel
Save