*/}}
Jelajahi Sumber

Fix right click file browser crash

YimingWu 4 bulan lalu
induk
melakukan
a220da1b9a
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      resources/la_templates.c

+ 2 - 0
resources/la_templates.c

@@ -888,6 +888,8 @@ void laui_FileBrowserFileItem(laUiList *uil, laPropPack *This, laPropPack *OP_UN
     laColumn *c = Extra, *cl, *cr, *crl, *crr, *cll, *clr, *clrl, *clrr, *clrrl, *clrrr;
     laUiItem *ui;
 
+    if (!c) { c = laFirstColumn(uil); }
+
     laSplitColumn(0, c, 0.1);
     cll = laLeftColumn(c, 1);
     clr = laRightColumn(c, 0);