Merge pull request #33621 from Calinou/export-runnable-tooltip

Add a tooltip to explain what marking a preset as "runnable" does
This commit is contained in:
Rémi Verschelde 2019-11-14 15:38:32 +01:00 committed by GitHub
commit a9fe8a7c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1107,6 +1107,7 @@ ProjectExportDialog::ProjectExportDialog() {
name->connect("text_changed", this, "_name_changed"); name->connect("text_changed", this, "_name_changed");
runnable = memnew(CheckButton); runnable = memnew(CheckButton);
runnable->set_text(TTR("Runnable")); runnable->set_text(TTR("Runnable"));
runnable->set_tooltip(TTR("If checked, the preset will be available for use in one-click deploy.\nOnly one preset per platform may be marked as runnable."));
runnable->connect("pressed", this, "_runnable_pressed"); runnable->connect("pressed", this, "_runnable_pressed");
settings_vb->add_child(runnable); settings_vb->add_child(runnable);