Ver código fonte

Fix double-clicking to start scenario

Ivan Savenko 2 anos atrás
pai
commit
503bd1dd66
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      client/lobby/SelectionTab.cpp

+ 1 - 0
client/lobby/SelectionTab.cpp

@@ -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);
 	}
 }