Ticket #352: prefbug.patch

File prefbug.patch, 539 bytes (added by Didactylos, 17 years ago)

What the heck, it's a one-line-fix.

  • clientgui/DlgAdvPreferences.cpp

     
    190190    wxASSERT(pDoc);
    191191    wxASSERT(wxDynamicCast(pDoc, CMainDocument));
    192192
    193     //init prefs with defaults
    194         prefs.defaults();
     193    //init prefs with globals
     194        prefs = pDoc->state.global_prefs;
    195195
    196196        //override the global prefs with values in global_prefs_override.xml, if this file exists
    197197        mask.clear();