Fixed monitor configuration title

pull/105/head
parent e9cd82bde5
commit 216d29c5e0

@ -293,7 +293,6 @@ void on_port_chosen_changed(GtkWidget *, monitor_edit_window *window){
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->PositionPortCombo),PARAMETER_DEFAULT_LABEL); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->PositionPortCombo),PARAMETER_DEFAULT_LABEL);
gtk_combo_box_set_active(GTK_COMBO_BOX(window->PositionPortCombo),0); gtk_combo_box_set_active(GTK_COMBO_BOX(window->PositionPortCombo),0);
char *port_name = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(window->PortCombo)); char *port_name = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(window->PortCombo));
gtk_window_set_title(GTK_WINDOW(window->MainWindow),PORT_EDIT_LABEL(port_name));
dict=yon_dictionary_get(&main_config.supported_resolutions,port_name); dict=yon_dictionary_get(&main_config.supported_resolutions,port_name);
if (dict){ if (dict){
int size; int size;

Loading…
Cancel
Save