In the "Save As" dialog, set XML as default, not sqlite3.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18412 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2009-11-11 21:17:32 +00:00
parent ffa2c6ed89
commit 127638e440

View File

@ -316,11 +316,10 @@ gnc_ui_file_access( int type )
gtk_combo_box_append_text( faw->cb_uri_type, "xml" );
++access_method_index;
// If we haven't set a default yet, set it now
if( active_access_method_index == -1 ) {
// Set XML as default if it is offered (which mean we are in
// the "Save As" dialog)
active_access_method_index = access_method_index;
}
}
g_assert( active_access_method_index >= 0 );
gtk_combo_box_set_active( faw->cb_uri_type, active_access_method_index );
set_widget_sensitivity_for_uri_type( faw, gtk_combo_box_get_active_text( faw->cb_uri_type ) );