=== modified file 'win32/HubFrame.cpp' --- win32/HubFrame.cpp 2011-02-02 17:45:47 +0000 +++ win32/HubFrame.cpp 2011-02-15 10:42:31 +0000 @@ -237,6 +237,10 @@ } bool HubFrame::preClosing() { + if(BOOLSETTING(PROMPT_PASSWORD) && waitingForPW) { + return false; + } + if(BOOLSETTING(CONFIRM_HUB_CLOSING) && !WinUtil::mainWindow->closing() && dwt::MessageBox(this).show(getText() + _T("\n\n") + T_("Really close?"), _T(APPNAME) _T(" ") _T(VERSIONSTRING), dwt::MessageBox::BOX_YESNO, dwt::MessageBox::BOX_ICONQUESTION) == IDNO) return false;