Browse Source

Don't remember remember checkbox.

(No, that's not a typo.  The locked items "remember"
checkbox is for the session.  We don't want to
reload the checkbox between sessions.)
pull/18/head
Jeff Young 3 months ago
parent
commit
10ca84470c
  1. 3
      common/dialogs/dialog_locked_items_query.cpp

3
common/dialogs/dialog_locked_items_query.cpp

@ -30,6 +30,9 @@ DIALOG_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY( wxWindow* aParent, std::si
DIALOG_LOCKED_ITEMS_QUERY_BASE( aParent ),
m_lockingOptions( aLockingOptions )
{
// Potentially dangerous to save the state of the Do Not Show Again button between sessions.
OptOut( m_doNotShowBtn );
m_icon->SetBitmap( KiBitmapBundle( BITMAPS::locked ) );
m_messageLine1->SetLabel( wxString::Format( m_messageLine1->GetLabel(), aLockedItemCount ) );

Loading…
Cancel
Save