Commit 7c028a10 authored by Mariusz Glebocki's avatar Mariusz Glebocki Committed by Kurt Hindenburg
Browse files

Add SessionController::isCopyInputActive()

parent 5f002cc3
......@@ -1633,6 +1633,14 @@ bool SessionController::isReadOnly() const
}
}
bool SessionController::isCopyInputActive() const
{
if ((_copyToGroup != nullptr) && _copyToGroup->sessions().count() > 1) {
return true;
}
return false;
}
void SessionController::sessionAttributeChanged()
{
if (_sessionIconName != _session->iconName()) {
......
......@@ -151,6 +151,7 @@ public:
/* Returns true if called within a KPart; false if called within Konsole. */
bool isKonsolePart() const;
bool isReadOnly() const;
bool isCopyInputActive() const;
Q_SIGNALS:
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment