diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-18 03:25:42 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-18 03:25:42 +0000 |
| commit | 84faa0582608b9eaf5ab5138be126d5bec24a45a (patch) | |
| tree | 9c9d499006ec24ef450ed112a005cdf3ac38db60 /sources/simulator/VSLogging.java | |
| parent | 7b3a0120581322678ddc0ed58f1a6a478899c217 (diff) | |
Bugfix in isPaused
Diffstat (limited to 'sources/simulator/VSLogging.java')
| -rw-r--r-- | sources/simulator/VSLogging.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sources/simulator/VSLogging.java b/sources/simulator/VSLogging.java index 3683c3a..c819a76 100644 --- a/sources/simulator/VSLogging.java +++ b/sources/simulator/VSLogging.java @@ -45,15 +45,10 @@ public class VSLogging { buffer.append(": "); buffer.append(message); - if (isPaused) { + if (isPaused) pauseLines.add(buffer); - loggingLines.add(buffer); - loggingArea.append(buffer.toString()+"\n"); - loggingArea.setCaretPosition(loggingArea.getDocument().getLength()); - - } else { + else loggFiltered(buffer); - } } public synchronized void isPaused(boolean isPaused) { |
