Bug 228046. Prompt user for MasterPassword prior to

displaying the Find and Replace dialog.
This commit is contained in:
Jim Norman 2007-01-09 08:41:54 +00:00
parent 434bc49a50
commit bdc46f5639
2 changed files with 292 additions and 282 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 9 13:25:55 MST 2007 - jnorman@novell.com
- Bug 228046. Prompt user for MasterPassword prior to displaying
the Find and Replace dialog.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 9 12:27:57 MST 2007 - jnorman@novell.com Tue Jan 9 12:27:57 MST 2007 - jnorman@novell.com

View File

@ -1036,8 +1036,12 @@ public class MiCasa : Store
internal void FindAndReplaceValues() internal void FindAndReplaceValues()
{ {
FindAndReplace fr = new FindAndReplace(this, tvSecretIDMiCasa.Model, tsSecretIDMiCasa); CommonGUI cg = new CommonGUI();
fr.ShowDialog(); if (cg.VerifyMasterPasswordWithUser())
{
FindAndReplace fr = new FindAndReplace(this, tvSecretIDMiCasa.Model, tsSecretIDMiCasa);
fr.ShowDialog();
}
} }
///####################################################################### ///#######################################################################