Preferences: Workbench : Change the text of the page to be more informative. Move the sentence "To preserve resources, FreeCAD..." to the load button tooltips.
This commit is contained in:
@@ -29,9 +29,8 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p>To preserve resources, FreeCAD does not load workbenches until they are used. Loading them may provide access to additional preferences related to their functionality.</p><p>
|
||||
You can enable/disable and reorder workbenches (requires restart).</p><p>
|
||||
Your installed workbenches(you can add more through the addon manager):</p></body></html></string>
|
||||
<string><html><head/><body><p>You can enable, disable and reorder workbenches (requires restart). Additional workbenches can be installed through the addon manager.</p><p>
|
||||
Your currently system has the following workbenches:</p></body></html></string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
|
||||
@@ -289,6 +289,7 @@ QWidget* DlgSettingsLazyLoadedImp::createWorkbenchWidget(const QString& wbName,
|
||||
loadLabel->setEnabled(enableCheckBox->isChecked());
|
||||
auto loadButton = new QPushButton(tr("Load"));
|
||||
loadButton->setObjectName(loadButtonStr);
|
||||
loadButton->setToolTip(tr("To preserve resources, FreeCAD does not load workbenches until they are used. Loading them may provide access to additional preferences related to their functionality."));
|
||||
loadButton->setEnabled(enableCheckBox->isChecked());
|
||||
connect(loadButton, &QPushButton::clicked, this, [this, wbName]() { onLoadClicked(wbName); });
|
||||
if (WorkbenchManager::instance()->getWorkbench(wbName.toStdString())) {
|
||||
|
||||
Reference in New Issue
Block a user