Bug 142939. Keep 'New Key' menu item active.
This commit is contained in:
@@ -120,6 +120,8 @@ namespace Novell.CASA.GUI
|
||||
public static CasaTray mCasaTray = null;
|
||||
public static bool m_bShowDebug = false;
|
||||
public static bool m_bNotifyUser = true;
|
||||
public static bool m_bGuiLocked = false;
|
||||
|
||||
|
||||
|
||||
///#######################################################################
|
||||
@@ -568,7 +570,8 @@ namespace Novell.CASA.GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
UnlockGUI();
|
||||
if (m_bGuiLocked)
|
||||
UnlockGUI();
|
||||
}
|
||||
|
||||
|
||||
@@ -842,6 +845,7 @@ namespace Novell.CASA.GUI
|
||||
mmiDebug.Sensitive = false;
|
||||
mmiOptions.Sensitive = false;
|
||||
mmiEdit.Sensitive = false;
|
||||
m_bGuiLocked = true;
|
||||
}
|
||||
|
||||
internal void UnlockGUI()
|
||||
@@ -857,6 +861,8 @@ namespace Novell.CASA.GUI
|
||||
mmiOptions.Sensitive = true;
|
||||
mmiEdit.Sensitive = true;
|
||||
|
||||
m_bGuiLocked = false;
|
||||
|
||||
//refresh secrets
|
||||
RefreshStores();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user