File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ void routing_button_setup(ezgl::application* app) {
145145 // Toggle Router Util
146146 GtkComboBoxText* toggle_router_util = GTK_COMBO_BOX_TEXT (app->get_object (" ToggleRoutingUtil" ));
147147 g_signal_connect (toggle_router_util, " changed" , G_CALLBACK (toggle_router_util_cbk), app);
148+ show_widget (" RoutingMenuButton" , app);
148149}
149150
150151/* *
@@ -168,6 +169,7 @@ void search_setup(ezgl::application* app) {
168169void crit_path_button_setup (ezgl::application* app) {
169170 GtkComboBoxText* toggle_crit_path = GTK_COMBO_BOX_TEXT (app->get_object (" ToggleCritPath" ));
170171 g_signal_connect (toggle_crit_path, " changed" , G_CALLBACK (toggle_crit_path_cbk), app);
172+ show_widget (" ToggleCritPath" , app);
171173}
172174
173175/* *
@@ -191,6 +193,11 @@ void hide_widget(std::string widgetName, ezgl::application* app) {
191193 gtk_widget_hide (widget);
192194}
193195
196+ void show_widget (std::string widgetName, ezgl::application* app) {
197+ GtkWidget* widget = GTK_WIDGET (app->get_object (widgetName.c_str ()));
198+ gtk_widget_show (widget);
199+ }
200+
194201/* *
195202 * @brief loads atom and cluster lvl names into gtk list store item used for completion
196203 *
You can’t perform that action at this time.
0 commit comments