[ios] Fixed crash if user quickly presses downloader or search button on startup

This commit is contained in:
Alex Zolotarev 2012-03-12 20:03:13 +03:00 committed by Alex Zolotarev
parent a9075348a1
commit a869ba903c

View file

@ -106,7 +106,9 @@ Framework * m_framework = NULL;
- (void)onShowDownloaderTimer:(NSTimer *)timer
{
[self OnSettingsClicked:nil];
// Only display downloader if no more modal controllers are already displayed
if (self.modalViewController == nil)
[self OnSettingsClicked:nil];
[timer invalidate];
}