This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "tools.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "chat.h"
|
||||
#include "configfile.h"
|
||||
#include <gamedata.h>
|
||||
#include <generic/serverguiwrapper.h>
|
||||
@@ -1144,6 +1145,16 @@ void mainWindowImpl::refreshGroupbox(int playerID, int status) {
|
||||
}
|
||||
}
|
||||
break;
|
||||
//active not in action
|
||||
case 3: {
|
||||
if (!playerID) {
|
||||
groupBoxArray[playerID]->setStyleSheet("QGroupBox { background-image: url(:/guiv2/resources/guiv2/playerBoxInactiveGlow.png) }");
|
||||
}
|
||||
else {
|
||||
groupBoxArray[playerID]->setStyleSheet("QGroupBox { background-image: url(:/guiv2/resources/guiv2/opponentBoxInactiveGlow.png) }");
|
||||
}
|
||||
}
|
||||
break;
|
||||
default: {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user