]> granicus.if.org Git - handbrake/commitdiff
LinGui: fix creating new preset category
authorJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 1 Jul 2019 18:44:57 +0000 (12:44 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Mon, 1 Jul 2019 18:45:34 +0000 (12:45 -0600)
gtk/src/presets.c

index e522c88f631e1b09575b8f07d00a927ca534d2d1..a088094d5fd64fdab64403c4fb0f02128f1cd537 100644 (file)
@@ -2271,7 +2271,7 @@ static void preset_save_action(signal_user_data_t *ud, gboolean as)
         category = ghb_dict_get_string(ud->settings, "PresetCategory");
         if (!strcmp(category, "new"))
         {
-            entry = GTK_ENTRY(GHB_WIDGET(ud->builder, "PresetCategoryEntry"));
+            entry = GTK_ENTRY(GHB_WIDGET(ud->builder, "PresetCategoryName"));
             category = gtk_entry_get_text(entry);
         }
         if (category == NULL || category[0] == 0)