diff --git a/src/com/jpexs/decompiler/flash/gui/proxy/ProxyFrame.java b/src/com/jpexs/decompiler/flash/gui/proxy/ProxyFrame.java index 6510f226e..37008d389 100644 --- a/src/com/jpexs/decompiler/flash/gui/proxy/ProxyFrame.java +++ b/src/com/jpexs/decompiler/flash/gui/proxy/ProxyFrame.java @@ -213,8 +213,10 @@ public class ProxyFrame extends AppFrame implements ActionListener, CatchedListe if (swfList.getSelectedIndex() > -1) { Replacement r = listModel.getElementAt(swfList.getSelectedIndex()); String s = View.showInputDialog("URL", r.urlPattern); - r.urlPattern = s; - listModel.dataChanged(swfList.getSelectedIndex()); + if (s != null) { + r.urlPattern = s; + listModel.dataChanged(swfList.getSelectedIndex()); + } } break; case ACTION_CLEAR: