Commit 77c883c7 authored by Agrigor's avatar Agrigor

Main GUI hides now while 'New Game' dialog is shown

parent 84b94568
......@@ -133,6 +133,7 @@ class StartGUI(QDialog):
self.killSocket = True
self.UI_Main.setVisible(False)
self.UI_Start.show()
def connectServer(self):
......@@ -182,6 +183,7 @@ class StartGUI(QDialog):
self.players[i].solved = [[0 for i in range(5)] for j in range(5)]
self.killSocket = False
self.setupPlayersView()
self.UI_Main.setVisible(True)
self.UI_Start.close()
def setupPlayersView(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment