Use CheckBoxes in the editor instead of CheckButtons when applicable
CheckButtons should only be used if toggling them has an immediate effect. Otherwise, CheckBoxes should be used.
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
|
||||
#include "editor/editor_file_dialog.h"
|
||||
#include "editor/editor_settings.h"
|
||||
#include "scene/gui/check_button.h"
|
||||
#include "scene/gui/check_box.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/grid_container.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
@ -57,7 +57,7 @@ class ScriptCreateDialog : public ConfirmationDialog {
|
||||
LineEdit *file_path;
|
||||
Button *path_button;
|
||||
EditorFileDialog *file_browse;
|
||||
CheckButton *internal;
|
||||
CheckBox *internal;
|
||||
Label *internal_label;
|
||||
VBoxContainer *path_vb;
|
||||
AcceptDialog *alert;
|
||||
|
||||
Reference in New Issue
Block a user