mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #77, command line in text message component when floating
This commit is contained in:
committed by
Roland Winklmeier
parent
b8597ce8d8
commit
ce78b65079
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user