forked from qt-creator/qt-creator
Labelling consistency
Reviewed-by: Oswald Buddenhagen
This commit is contained in:
@@ -91,7 +91,7 @@ void FormEditorFactory::updateEditorInfoBar(Core::IEditor *editor)
|
||||
if (qobject_cast<FormWindowEditor *>(editor)) {
|
||||
Core::EditorManager::instance()->showEditorInfoBar(Constants::INFO_READ_ONLY,
|
||||
tr("This file can only be edited in Design Mode."),
|
||||
tr("Open Designer"), this, SLOT(designerModeClicked()));
|
||||
tr("Switch to Design Mode"), this, SLOT(designerModeClicked()));
|
||||
} else {
|
||||
Core::EditorManager::instance()->hideEditorInfoBar(Constants::INFO_READ_ONLY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user