Bug 228046. Prompt user for MasterPassword prior to
displaying the Find and Replace dialog.
This commit is contained in:
		| @@ -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 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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(); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| 	 | 	 | ||||||
| 	///####################################################################### | 	///####################################################################### | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user