*/}}
Sfoglia il codice sorgente

Always show "new brush" button

YimingWu 19 ore fa
parent
commit
93628801a4
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      ouroperations.c

+ 2 - 0
ouroperations.c

@@ -557,6 +557,8 @@ void ourui_BrushesPanel(laUiList *uil, laPropPack *This, laPropPack *DetachedPro
             laShowSeparator(uil,c)->Expand=1;
             laShowItem(uil,c,0,"OUR_new_brush")->Flags|=LA_UI_FLAGS_NO_CONFIRM;
             OUR_ER
+        }laElse(uil,b);{
+            laShowItem(uil,c,0,"OUR_new_brush")->Flags|=LA_UI_FLAGS_NO_CONFIRM;
         }laEndCondition(uil,b);
         b=laOnConditionThat(uil,c,laEqual(laPropExpression(0,"our.brush_page"),laIntExpression(OUR_BRUSH_PAGE_LIST)));{
             laShowItemFull(uil,c,0,"our.tools.brushes",0,0,0,0)->Flags|=LA_UI_FLAGS_NO_CONFIRM;