This is an automated email from the ASF dual-hosted git repository.

rmiddleton pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-chainsaw.git

commit 7f236cf42cd770a70148aaad6d2fe8299554afcf
Author: Robert Middleton <[email protected]>
AuthorDate: Thu May 26 22:19:17 2022 -0400

    stop editing when creating a new receiver
---
 .../org/apache/log4j/chainsaw/receivers/PluginPropertyEditorPanel.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/log4j/chainsaw/receivers/PluginPropertyEditorPanel.java
 
b/src/main/java/org/apache/log4j/chainsaw/receivers/PluginPropertyEditorPanel.java
index 939a8b0..b5ca7e8 100644
--- 
a/src/main/java/org/apache/log4j/chainsaw/receivers/PluginPropertyEditorPanel.java
+++ 
b/src/main/java/org/apache/log4j/chainsaw/receivers/PluginPropertyEditorPanel.java
@@ -87,7 +87,8 @@ public class PluginPropertyEditorPanel extends JPanel {
      * @return Returns the plugin.
      */
     public final ChainsawReceiver getPlugin() {
-
+        propertyTable.getColumnModel().getColumn(1)
+            .getCellEditor().stopCellEditing();
         return m_receiver;
     }
 

Reply via email to