diff options
author | Aki <please@ignore.pl> | 2022-04-04 22:39:50 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-04 22:39:50 +0200 |
commit | c2cce90d1a5d17e409d121334ad6412faa8ad18c (patch) | |
tree | d5acae56a2bb7083a9794a9d6d80ed54aa0fe20a /StarsEx | |
parent | 1bc6242caac5261dfd74be55027aa033f7a297a4 (diff) | |
download | starshatter-c2cce90d1a5d17e409d121334ad6412faa8ad18c.zip starshatter-c2cce90d1a5d17e409d121334ad6412faa8ad18c.tar.gz starshatter-c2cce90d1a5d17e409d121334ad6412faa8ad18c.tar.bz2 |
Fixed stupid dead-lock in campaign selection screen
Diffstat (limited to 'StarsEx')
-rw-r--r-- | StarsEx/CmpSelectDlg.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/StarsEx/CmpSelectDlg.cpp b/StarsEx/CmpSelectDlg.cpp index 6942a60..b2261ac 100644 --- a/StarsEx/CmpSelectDlg.cpp +++ b/StarsEx/CmpSelectDlg.cpp @@ -364,8 +364,6 @@ CmpSelectDlg::OnCampaignSelect(AWEvent* event) if (lst_campaigns->IsSelected(i)) { images[i]->CopyBitmap(*c->GetImage(1)); lst_campaigns->SetItemImage(i, images[i]); - - const std::lock_guard<std::mutex> lock(sync); load_index = i; } else { |