Skip to content

Commit

Permalink
Fix 'generate index' button not becoming blue again
Browse files Browse the repository at this point in the history
  • Loading branch information
btrkeks committed Sep 15, 2024
1 parent b972dac commit 123dd83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontends/gtk3popup/dp-preferences-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ static gboolean pron_index_generation_thread_finished(gpointer user_data) {

self->pron_index_generate_thread = NULL;
gtk_button_set_label(GTK_BUTTON(self->pron_index_generate_button), _(generate_index_str));
restore_generate_index_button(self->pron_index_generate_button);

return G_SOURCE_REMOVE;
}
Expand Down Expand Up @@ -154,7 +155,7 @@ static gboolean dictpopup_create_thread_finished(gpointer user_data) {
DpPreferencesWindow *self = DP_PREFERENCES_WINDOW(user_data);

self->dictpopup_create_thread = NULL;
gtk_button_set_label(GTK_BUTTON(self->dictpopup_create_button), _(generate_index_str));
restore_generate_index_button(self->dictpopup_create_button);

dp_preferences_window_update_dict_order(self);

Expand Down

0 comments on commit 123dd83

Please sign in to comment.