Respect UI lock when clicking on tray notification. Closes #784.

This commit is contained in:
sledgehammer999 2013-07-22 01:46:10 +03:00
parent 798bd2388b
commit 080377b662

View file

@ -517,6 +517,11 @@ void MainWindow::readSettings() {
void MainWindow::balloonClicked() {
if (isHidden()) {
if (ui_locked) {
// Ask for UI lock password
if (!unlockUI())
return;
}
show();
if (isMinimized()) {
showNormal();