diff --git a/src/Core.cc b/src/Core.cc index bdd612d..c4987f7 100644 --- a/src/Core.cc +++ b/src/Core.cc @@ -119,8 +119,8 @@ Core::Core(int &argc, char* argv[]) : QApplication(argc, argv) msgBox.setIcon(QMessageBox::Critical); msgBox.setText("Could not connect UDP port. Is an instance of " + qAppName() + "already running?"); msgBox.setInformativeText("You will not be able to receive data via UDP. Please check that you're running the right executable and then re-start " + qAppName() + ". Do you want to close the application?"); - msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel); - msgBox.setDefaultButton(QMessageBox::Cancel); + msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); + msgBox.setDefaultButton(QMessageBox::No); int ret = msgBox.exec(); // Close the message box shortly after the click to prevent accidental clicks