diff --git a/ryzom/client/src/interface_v3/interface_manager.cpp b/ryzom/client/src/interface_v3/interface_manager.cpp index f73ca6b07..945d8a793 100644 --- a/ryzom/client/src/interface_v3/interface_manager.cpp +++ b/ryzom/client/src/interface_v3/interface_manager.cpp @@ -1152,7 +1152,7 @@ void CInterfaceManager::configureQuitDialogBox() eltEdit->setActive(false); if (eltCancel) - (safe_cast(eltCancel))->setText(sessionOwner ? CI18N::get("uittQuitCancel") : CI18N::get("uittQuitCancelEditor")); + (safe_cast(eltCancel))->setText(R2::getEditor().getMode() != R2::CEditor::EditionMode ? CI18N::get("uittQuitCancel") : CI18N::get("uittQuitCancelEditor")); } }