mirror of https://github.com/BURAI-team/burai.git
fix QEFXMainController#showFile
This commit is contained in:
parent
0d0f836446
commit
e99bc4863d
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue