From b78e920e5e6239bdb68f77491b657c36df02fb44 Mon Sep 17 00:00:00 2001 From: Gerald Schmidt Date: Sun, 30 Sep 2007 23:08:58 +0000 Subject: [PATCH] Apply reload logic if IPC poke opens file that's already open. --- src/myipc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/myipc.cpp b/src/myipc.cpp index 12bbc34..8145f1f 100755 --- a/src/myipc.cpp +++ b/src/myipc.cpp @@ -64,7 +64,8 @@ bool MyServerConnection::OnPoke ( } else if ( frame->isOpen ( item ) ) { - frame->activateTab ( item ); + if (frame->activateTab ( item ) ) + frame->reloadTab(); } else {