Skip to content

Commit

Permalink
Gtk3: Properly set RAMLink enable check button if enabled
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45462 379a1393-f5fb-40a0-bcee-ef074d9b53f7
  • Loading branch information
Compyx committed Jan 13, 2025
1 parent 082fc60 commit 42b5c98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vice/src/arch/gtk3/widgets/settings_ramlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ GtkWidget *settings_ramlink_widget_create(GtkWidget *parent)
* depends on whether a BIOS image file is specified
*/
enable = gtk_check_button_new_with_label("Enable " CARTRIDGE_NAME_RAMLINK " emulation");
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(enable),
cartridge_type_enabled(CARTRIDGE_RAMLINK));
g_signal_connect(G_OBJECT(enable),
"toggled",
G_CALLBACK(on_enable_toggled),
Expand Down

0 comments on commit 42b5c98

Please sign in to comment.