mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T215, fixed text message sending from keypad command line
* context menu delete history * signals to relay messages which are not "dot" commands
This commit is contained in:
@@ -38,15 +38,19 @@ namespace BlackGui
|
||||
{
|
||||
const QString c(this->getLastEnteredLineFormatted());
|
||||
if (c.isEmpty()) { return; }
|
||||
if (c.toLower().contains("help"))
|
||||
{
|
||||
this->setCommandTooltip();
|
||||
return;
|
||||
}
|
||||
if (c.startsWith('.'))
|
||||
{
|
||||
if (c.toLower().contains("help"))
|
||||
{
|
||||
this->setCommandTooltip();
|
||||
return;
|
||||
}
|
||||
emit this->commandEntered(c, this->identifier());
|
||||
}
|
||||
else
|
||||
{
|
||||
emit this->textEntered(c, this->identifier());
|
||||
}
|
||||
}
|
||||
|
||||
void CCommandInput::setCommandTooltip()
|
||||
|
||||
Reference in New Issue
Block a user