summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
diff options
context:
space:
mode:
authorTechjar <tecknojar@gmail.com>2018-10-29 17:00:37 -0400
committerTechjar <tecknojar@gmail.com>2018-10-29 17:01:30 -0400
commit203ecb534d65287a16cb1565ab69ee10a02ab0bf (patch)
tree0e21e094e591cb5949df8e39cc8d7edff023babc /Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
parent0140009114c70ba949e453343f422f639593a321 (diff)
NetPlay: Fix saving host game selection
Diffstat (limited to 'Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
index dc6b847b61..1e47f80bb6 100644
--- a/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
+++ b/Source/Core/DolphinQt/NetPlay/NetPlayDialog.cpp
@@ -314,6 +314,7 @@ void NetPlayDialog::ConnectWidgets()
{
auto unique_id = gld.GetSelectedUniqueID();
Settings::Instance().GetNetPlayServer()->ChangeGame(unique_id.toStdString());
+ Settings::GetQSettings().setValue(QStringLiteral("netplay/hostgame"), unique_id);
}
});