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

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