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