mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
This patch fixes bug 731519. The fix sets the upper limit before it sets the value of the end row spin button.
This commit is contained in:
committed by
Geert Janssens
parent
32105585d4
commit
b13f3dab2f
@@ -1353,8 +1353,8 @@ csv_import_trans_assistant_preview_page_prepare (GtkAssistant *assistant,
|
||||
adj = gtk_spin_button_get_adjustment(GTK_SPIN_BUTTON(info->end_row_spin));
|
||||
if (gtk_adjustment_get_upper(adj) != info->num_of_rows)
|
||||
{
|
||||
gtk_adjustment_set_upper (adj, info->num_of_rows);
|
||||
gtk_spin_button_set_value (GTK_SPIN_BUTTON(info->end_row_spin), info->num_of_rows);
|
||||
gtk_adjustment_set_upper(adj, info->num_of_rows);
|
||||
}
|
||||
|
||||
/* Update the row selection highlight */
|
||||
|
||||
Reference in New Issue
Block a user