diff --git a/Gtkmm4/gtk144_gtkui6/src/MenuWin.cc b/Gtkmm4/gtk144_gtkui6/src/MenuWin.cc index add7013..37e9f6b 100644 --- a/Gtkmm4/gtk144_gtkui6/src/MenuWin.cc +++ b/Gtkmm4/gtk144_gtkui6/src/MenuWin.cc @@ -93,15 +93,15 @@ void MenuWin::btnmain_clicked() // Launch Window1 void MenuWin::btnwin1_clicked() { - menu_bar.change_menu(WinShown::WIN_1); window1.show(); + menu_bar.change_menu(WinShown::WIN_1); } // Launch Window2 void MenuWin::btnwin2_clicked() { - menu_bar.change_menu(WinShown::WIN_2); window2.show(); + menu_bar.change_menu(WinShown::WIN_2); } // New a window