#719 null swf name in Proxy after cancelling rename dialog

This commit is contained in:
honfika@gmail.com
2014-11-14 22:24:12 +01:00
parent bb5b0eef46
commit 0e128e2ef7

View File

@@ -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: