*/}}
瀏覽代碼

Fix right click file browser crash

YimingWu 4 月之前
父節點
當前提交
a220da1b9a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);