Add a tooltip to explain what marking a preset as "runnable" does

This commit is contained in:
Hugo Locurcio 2019-11-14 15:11:31 +01:00
parent f244772028
commit bc8236bd39
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
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);