summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 5656c2c0..60518fd4 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -1031,6 +1031,7 @@ static iBool slidePanelHandler_(iWidget *d, const char *cmd) {
1031 iWidget *button = pointer_Command(cmd); 1031 iWidget *button = pointer_Command(cmd);
1032 iWidget *panel = userData_Object(button); 1032 iWidget *panel = userData_Object(button);
1033 openMenu_Widget(panel, zero_I2()); 1033 openMenu_Widget(panel, zero_I2());
1034 setFlags_Widget(panel, disabled_WidgetFlag, iFalse);
1034// updateTextCStr_LabelWidget(findWidget_App("panel.back"), ); 1035// updateTextCStr_LabelWidget(findWidget_App("panel.back"), );
1035 return iTrue; 1036 return iTrue;
1036 } 1037 }
@@ -1045,6 +1046,7 @@ static iBool slidePanelHandler_(iWidget *d, const char *cmd) {
1045 iWidget *child = i.object; 1046 iWidget *child = i.object;
1046 if (!cmp_String(id_Widget(child), "panel") && isVisible_Widget(child)) { 1047 if (!cmp_String(id_Widget(child), "panel") && isVisible_Widget(child)) {
1047 closeMenu_Widget(child); 1048 closeMenu_Widget(child);
1049 setFlags_Widget(child, disabled_WidgetFlag, iTrue);
1048 setFocus_Widget(NULL); 1050 setFocus_Widget(NULL);
1049 updateTextCStr_LabelWidget(findWidget_App("panel.back"), "Back"); 1051 updateTextCStr_LabelWidget(findWidget_App("panel.back"), "Back");
1050 wasClosed = iTrue; 1052 wasClosed = iTrue;
@@ -1528,7 +1530,7 @@ void finalizeSheet_Widget(iWidget *sheet) {
1528 updateSheetPanelMetrics_(sheet); 1530 updateSheetPanelMetrics_(sheet);
1529 arrange_Widget(sheet->parent); 1531 arrange_Widget(sheet->parent);
1530 postCommand_App("widget.overflow"); /* with the correct dimensions */ 1532 postCommand_App("widget.overflow"); /* with the correct dimensions */
1531// printTree_Widget(sheet); 1533 printTree_Widget(sheet);
1532 } 1534 }
1533 else { 1535 else {
1534 arrange_Widget(sheet); 1536 arrange_Widget(sheet);