Fix "Enable chat" in Linux Qt build

This commit is contained in:
TotalCaesar659 2021-02-17 21:30:52 +03:00 committed by GitHub
parent be0adc29fa
commit ce18c23790
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,11 @@ private slots:
void cheatsAct() { g_Config.bEnableCheats = !g_Config.bEnableCheats; }
// Chat
void chatAct() { NativeMessageReceived("chat screen", ""); }
void chatAct() {
g_Config.bEnableNetworkChat = true;
updateMenus();
NativeMessageReceived("chat screen", "");
}
void fullscrAct();
void raiseTopMost();