Skip to content

Commit

Permalink
fix(mainwindow): fixes #41
Browse files Browse the repository at this point in the history
  • Loading branch information
ouuan committed Dec 14, 2019
1 parent 037ad80 commit 5d9e2eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ void MainWindow::on_actionChange_Port_triggered() {
Log::MessageLogger::info("Companion",
"Changing port to " + std::to_string(newPort));
delete server;
server = nullptr;
createAndAttachServer();
}
setting->setConnectionPort(newPort);
Expand Down

0 comments on commit 5d9e2eb

Please sign in to comment.