diff --git a/Orange/canvas/application/addons.py b/Orange/canvas/application/addons.py index ae0084b941f..fac22242440 100644 --- a/Orange/canvas/application/addons.py +++ b/Orange/canvas/application/addons.py @@ -781,13 +781,13 @@ def message_restart(parent): icon = QMessageBox.Information buttons = QMessageBox.Ok | QMessageBox.Cancel title = 'Information' - text = 'A restart of the application is necessary for the ' \ - 'changes to take effect.' + text = 'Orange needs to be restarted for the changes to take effect.' msg_box = QMessageBox(icon, title, text, buttons, parent) msg_box.setDefaultButton(QMessageBox.Ok) - msg_box.button(QMessageBox.Ok).setText('Restart now') - msg_box.button(QMessageBox.Cancel).setText('Restart later') + msg_box.setInformativeText('Press OK to close Orange now.') + + msg_box.button(QMessageBox.Cancel).setText('Close later') return msg_box.exec_() if QMessageBox.Ok == message_restart(self): diff --git a/Orange/canvas/application/canvasmain.py b/Orange/canvas/application/canvasmain.py index a80d16ef555..0a618030f55 100644 --- a/Orange/canvas/application/canvasmain.py +++ b/Orange/canvas/application/canvasmain.py @@ -1706,11 +1706,10 @@ def open_addons(self): return dlg.exec_() def reset_widget_settings(self): - res = message_question( - "A restart of the application is necessary for the " + - "changes to take effect.", + res = message_information( + "Orange needs to be restarted for the changes to take effect.", title="Clear settings", - informative_text="Press OK to restart.", + informative_text="Press OK to close Orange now.", buttons=QMessageBox.Ok | QMessageBox.Cancel, default_button=QMessageBox.Ok, parent=self