mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix double-clicking to start scenario
This commit is contained in:
@@ -317,6 +317,7 @@ void SelectionTab::onDoubleClick()
|
||||
{
|
||||
if(getLine() != -1) //double clicked scenarios list
|
||||
{
|
||||
(static_cast<CLobbyScreen *>(parent))->buttonStart->clickLeft(true, false);
|
||||
(static_cast<CLobbyScreen *>(parent))->buttonStart->clickLeft(false, true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user