In KIFACE_I::end_common save the 'common' configuration variables loaded in KIFACE_I::begin_common (the background color and the page border flag)
This commit is contained in:
parent
bee6b9f9b7
commit
bb79ec84bc
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue