fix QEFXMainController#showFile

This commit is contained in:
nisihara1 2017-05-16 19:59:51 +09:00
parent 0d0f836446
commit e99bc4863d
1 changed files with 5 additions and 5 deletions

View File

@ -665,12 +665,12 @@ public class QEFXMainController implements Initializable {
return;
}
QEFXIcon icon = QEFXIcon.getInstance(file);
if (icon == null) {
return;
}
Platform.runLater(() -> {
QEFXIcon icon = QEFXIcon.getInstance(file);
if (icon == null) {
return;
}
if (icon instanceof QEFXProjectIcon) {
Project project = ((QEFXProjectIcon) icon).getContent();
if (project != null) {