summaryrefslogtreecommitdiff
path: root/new/newcontrol_unix.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-11 14:44:40 -0400
committerPietro Gagliardi <[email protected]>2015-04-11 14:44:40 -0400
commit9ea35db265a3a9a0ae0d697aa1ef871713151c82 (patch)
tree4fb512cbeeb613624bc3ac23771d620f24532455 /new/newcontrol_unix.c
parent0430ca9102b54fd9127d8b998d45f1941c1a278a (diff)
Implemented show/hide/enable/disable on uiStack and fixed other bugs. It works!
Diffstat (limited to 'new/newcontrol_unix.c')
-rw-r--r--new/newcontrol_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/new/newcontrol_unix.c b/new/newcontrol_unix.c
index c3fad42..0f6388b 100644
--- a/new/newcontrol_unix.c
+++ b/new/newcontrol_unix.c
@@ -78,8 +78,8 @@ static int singleVisible(uiControl *c)
singleWidget *s = (singleWidget *) (c->internal);
if (s->userHid)
- return 1;
- return 0;
+ return 0;
+ return 1;
}
static void singleShow(uiControl *c)