Fix prompt error, update prompt even if no data received.

git-svn-id: file:///home/svn/framework3/trunk@10931 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Weeks 2010-11-06 17:38:29 +00:00
parent f15b370127
commit 7d6add8a35
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -151,9 +151,9 @@ public class InteractWindow extends MsfFrame {
outputArea.append(new String(decodedBytes));
if(decodedBytes[decodedBytes.length-1] != '\n')
outputArea.append("\n");//cause windows is just like that.
publish("data");
publish(received);
}
publish("data");
publish(received);
} catch (MsfException ex) {
if(!ex.getMessage().equals("unknown session"))
JOptionPane.showMessageDialog(null, ex);