GUI: fix widget hiding
This commit is contained in:
parent
3e4a148578
commit
968262d935
@ -205,14 +205,17 @@ onAlgoBoxChange mygui = do
|
||||
item <- comboBoxGetActive (algoBox mygui)
|
||||
if item == 4
|
||||
then do
|
||||
widgetHide (vbox10 mygui)
|
||||
widgetShow (vbox7 mygui)
|
||||
widgetShow (treeWin mygui)
|
||||
else
|
||||
if item == 5
|
||||
then do
|
||||
widgetHide (vbox7 mygui)
|
||||
widgetShow (vbox10 mygui)
|
||||
widgetShow (treeWin mygui)
|
||||
else do
|
||||
widgetHide (vbox10 mygui)
|
||||
widgetHide (vbox7 mygui)
|
||||
widgetHide (treeWin mygui)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user