GUI: fix algo 5 tree visualization, we broke it

This commit is contained in:
hasufell 2014-11-30 00:02:58 +01:00
parent 8cf9d93580
commit 3e4a148578
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -207,16 +207,15 @@ onAlgoBoxChange mygui = do
then do then do
widgetShow (vbox7 mygui) widgetShow (vbox7 mygui)
widgetShow (treeWin mygui) widgetShow (treeWin mygui)
else do else
widgetHide (vbox7 mygui)
widgetHide (treeWin mygui)
if item == 5 if item == 5
then do then do
widgetShow (vbox10 mygui) widgetShow (vbox10 mygui)
widgetShow (treeWin mygui) widgetShow (treeWin mygui)
else do else do
widgetHide (vbox10 mygui) widgetHide (vbox7 mygui)
widgetHide (treeWin mygui) widgetHide (treeWin mygui)
return () return ()