refs #77, command line in text message component when floating

This commit is contained in:
Klaus Basan
2014-11-18 17:31:43 +01:00
committed by Roland Winklmeier
parent b8597ce8d8
commit ce78b65079
6 changed files with 290 additions and 193 deletions

View File

@@ -155,8 +155,8 @@ namespace BlackGui
void CMainKeypadAreaComponent::ps_commandEntered()
{
QString c = this->ui->le_CommandLineInput->text().trimmed();
if (c.isEmpty()) return;
QString c(this->ui->le_CommandLineInput->text().trimmed().simplified());
if (c.isEmpty()) { return; }
emit this->commandEntered(c);
this->ui->le_CommandLineInput->clear();
}