comparison Core.lua @ 162:8a525473f8e2

Backed out changeset: 34e22d3cd73e Fix was ineffective.
author Zerotorescue
date Mon, 19 Dec 2011 13:54:48 +0100
parents 34e22d3cd73e
children 86d9e008b0ad
comparison
equal deleted inserted replaced
161:34e22d3cd73e 162:8a525473f8e2
438 438
439 MailOpener:Disable(); 439 MailOpener:Disable();
440 self.cbOpenAll:SetChecked(false); 440 self.cbOpenAll:SetChecked(false);
441 end 441 end
442 442
443 hasOpenedMailAlready = nil;
444 mailboxEmptySoundPlayed = nil;
445 mailboxEmptySoundPlayedThisVisit = nil;
446
447 if IsShiftKeyDown() then 443 if IsShiftKeyDown() then
448 self:Print(L["|cffff0000Disabling|r automatic opening of mail, shift key was down when opening the mailbox."]); 444 self:Print(L["|cffff0000Disabling|r automatic opening of mail, shift key was down when opening the mailbox."]);
449 445
450 AutoOpenMail = false; 446 AutoOpenMail = false;
451 hasOpenedMailAlready = true;
452 self.cbOpenAll:SetChecked(false); 447 self.cbOpenAll:SetChecked(false);
453 end 448 end
454 449
455 self:ToggleQAStatus(); 450 self:ToggleQAStatus();
456 451
473 QAMail.totalMail:Hide(); 468 QAMail.totalMail:Hide();
474 end 469 end
475 end 470 end
476 end 471 end
477 end 472 end
473
474 hasOpenedMailAlready = nil;
475 mailboxEmptySoundPlayed = nil;
476 mailboxEmptySoundPlayedThisVisit = nil;
478 477
479 self:Recheck(); 478 self:Recheck();
480 479
481 if self.db.profile.general.continueOpening then 480 if self.db.profile.general.continueOpening then
482 -- Continue opening mail, but use the "initial mail opening interval" as time 481 -- Continue opening mail, but use the "initial mail opening interval" as time