Fix typo in "Python Initialization failed" message (#158)

This commit is contained in:
Jonathan Feenstra
2026-06-04 09:01:06 +02:00
committed by GitHub
parent 0b0f34b2da
commit 17840a0d97
+5 -6
View File
@@ -86,17 +86,16 @@ bool ProxyPython::init(IOrganizer* moInfo)
m_LoadFailure = FailureType::INITIALIZATION;
if (QMessageBox::question(
parentWidget(), tr("Python Initialization failed"),
tr("On a previous start the Python Plugin failed to initialize.\n"
"Do you want to try initializing python again (at the risk of "
tr("On a previous start, the Python Plugin failed to initialize.\n"
"Do you want to try initializing Python again (at the risk of "
"another crash)?\n "
"Suggestion: Select \"no\", and click the warning sign for further "
"help.Afterwards you have to re-enable the python plugin."),
"help. Afterwards you have to re-enable the Python plugin."),
QMessageBox::Yes | QMessageBox::No,
QMessageBox::No) == QMessageBox::No) {
// we force enabled here (note: this is a persistent settings since MO2 2.4
// or something), plugin
// usually should not handle enabled/disabled themselves but this is a base
// plugin so...
// or something), plugin usually should not handle enabled/disabled
// themselves but this is a base plugin so...
m_MOInfo->setPersistent(name(), "enabled", false, true);
return true;
}