Update gtk144

This commit is contained in:
daleclack 2023-01-17 18:44:38 +08:00
parent fb5887815f
commit a0c093a6cc
1 changed files with 2 additions and 2 deletions

View File

@ -93,15 +93,15 @@ void MenuWin::btnmain_clicked()
// Launch Window1 // Launch Window1
void MenuWin::btnwin1_clicked() void MenuWin::btnwin1_clicked()
{ {
menu_bar.change_menu(WinShown::WIN_1);
window1.show(); window1.show();
menu_bar.change_menu(WinShown::WIN_1);
} }
// Launch Window2 // Launch Window2
void MenuWin::btnwin2_clicked() void MenuWin::btnwin2_clicked()
{ {
menu_bar.change_menu(WinShown::WIN_2);
window2.show(); window2.show();
menu_bar.change_menu(WinShown::WIN_2);
} }
// New a window // New a window