multiple legal notes are shown if project had multiple .class files opened in the editor

(cherry picked from commit 8a370d1d63173484f94fd9ad0bef9c45d377173f)
This commit is contained in:
Anna Kozlova
2014-10-13 19:20:28 +02:00
parent e03b39d12b
commit fc84427492
@@ -113,7 +113,9 @@ public class IdeaDecompiler extends ClassFileDecompilers.Light {
ApplicationManager.getApplication().invokeLater(new Runnable() {
@Override
public void run() {
new LegalNoticeDialog(project, file).show();
if (!myLegalNoticeAccepted) {
new LegalNoticeDialog(project, file).show();
}
}
}, ModalityState.NON_MODAL);
}