GUI: fix algo 5 tree visualization, we broke it
This commit is contained in:
parent
8cf9d93580
commit
3e4a148578
19
GUI/Gtk.hs
19
GUI/Gtk.hs
@ -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)
|
if item == 5
|
||||||
widgetHide (treeWin mygui)
|
then do
|
||||||
if item == 5
|
widgetShow (vbox10 mygui)
|
||||||
then do
|
widgetShow (treeWin mygui)
|
||||||
widgetShow (vbox10 mygui)
|
else do
|
||||||
widgetShow (treeWin mygui)
|
widgetHide (vbox7 mygui)
|
||||||
else do
|
widgetHide (treeWin mygui)
|
||||||
widgetHide (vbox10 mygui)
|
|
||||||
widgetHide (treeWin mygui)
|
|
||||||
return ()
|
return ()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user