Commit bb79ec84 authored by Lorenzo Marcantonio's avatar Lorenzo Marcantonio

In KIFACE_I::end_common save the 'common' configuration variables loaded in...

In KIFACE_I::end_common save the 'common' configuration variables loaded in KIFACE_I::begin_common (the background color and the page border flag)
parent bee6b9f9
......@@ -123,6 +123,11 @@ bool KIFACE_I::start_common( int aCtlBits )
void KIFACE_I::end_common()
{
/* Save common preferences; the background still uses the old legacy
* color numbers, not the new names */
m_bm.m_config->Write( showPageLimitsKey, g_ShowPageLimits );
m_bm.m_config->Write( backgroundColorKey, int( g_DrawBgColor ) );
m_bm.End();
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment