Clear all self-owned restrictions when closing the RLVa console
--HG-- branch : RLVameow-7.2.2
parent
f7c69ca8f9
commit
651b53944c
|
|
@ -709,6 +709,11 @@ BOOL RlvFloaterConsole::postBuild()
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
void RlvFloaterConsole::onClose(bool fQuitting)
|
||||
{
|
||||
gRlvHandler.processCommand(gAgent.getID(), "clear", true);
|
||||
}
|
||||
|
||||
void RlvFloaterConsole::addCommandReply(const std::string& strCommand, const std::string& strReply)
|
||||
{
|
||||
m_pOutputText->appendText(llformat("%s: ", strCommand.c_str()), true);
|
||||
|
|
|
|||
|
|
@ -142,6 +142,7 @@ private:
|
|||
*/
|
||||
public:
|
||||
BOOL postBuild() override;
|
||||
void onClose(bool fQuitting) override;
|
||||
|
||||
/*
|
||||
* Member functions
|
||||
|
|
|
|||
Loading…
Reference in New Issue