mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #608, allow to select log component (attention) when required. This is needed for direct window access to display console messages directly.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
81299b4d16
commit
5a03d235cd
@@ -47,14 +47,16 @@ namespace BlackGui
|
||||
CLogComponent::~CLogComponent()
|
||||
{ }
|
||||
|
||||
void CLogComponent::displayLog()
|
||||
void CLogComponent::displayLog(bool attention)
|
||||
{
|
||||
this->ui->tw_StatusPage->setCurrentIndex(0);
|
||||
if(attention) { emit requestAttention(); }
|
||||
}
|
||||
|
||||
void CLogComponent::displayConsole()
|
||||
void CLogComponent::displayConsole(bool attention)
|
||||
{
|
||||
this->ui->tw_StatusPage->setCurrentIndex(1);
|
||||
if(attention) { emit requestAttention(); }
|
||||
}
|
||||
|
||||
void CLogComponent::appendStatusMessageToConsole(const CStatusMessage &statusMessage)
|
||||
|
||||
Reference in New Issue
Block a user