Commit 2be43cde authored by Tomas Mecir's avatar Tomas Mecir
Browse files

Some statusvar fixes

parent 6324dba0
......@@ -161,9 +161,7 @@ void cWindowList::textToWindow (const QString &name, cTextChunk *chunk)
//add text to the window
windows[name]->addLine(chunk);
// switch-window is used, so that others can determine which window was used
// main output emits the same signal, prepended with switch-window with
// an empty string
// switch-window is used so that others can determine which window was used
invokeEvent ("switch-window", sess(), name);
invokeEvent ("displayed-line", sess(), chunk);
}
......
......@@ -23,6 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kconfig.h>
#include <kconfiggroup.h>
#include "cstatusvar.h"
cStatusVar::cStatusVar (int _sess): sess(_sess)
{
varvalue = maxvarvalue = 0;
......
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