Automatically try to unlock db when global auto-type key has been pressed
Fixed gcc 4.2 compiler warning git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@199 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
@@ -162,7 +162,11 @@ void AutoType::perform(IEntryHandle* entry, QString& err,bool hideWindow,int nr)
|
||||
|
||||
#ifdef GLOBAL_AUTOTYPE
|
||||
void AutoType::performGlobal(){
|
||||
if (MainWin->db==NULL) return;
|
||||
if (MainWin->isLocked())
|
||||
MainWin->OnUnLockWorkspace();
|
||||
|
||||
if (!MainWin->isOpened())
|
||||
return;
|
||||
|
||||
Display* d = QX11Info::display();
|
||||
Window w;
|
||||
|
||||
Reference in New Issue
Block a user