Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Commit

Permalink
Fix bad theme on some dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Aug 22, 2017
1 parent 5df5f1c commit d17635f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions height_map_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ HeightMapEditorPlugin::HeightMapEditorPlugin(EditorNode *p_editor) {
}

_import_confirmation_dialog = memnew(ConfirmationDialog);
add_child(_import_confirmation_dialog);
get_base_control()->add_child(_import_confirmation_dialog);
_import_confirmation_dialog->get_ok()->set_text(TTR("Import anyways"));
_import_confirmation_dialog->connect("confirmed", this, "_import_raw_file");

_accept_dialog = memnew(AcceptDialog);
add_child(_accept_dialog);
get_base_control()->add_child(_accept_dialog);

get_resource_previewer()->add_preview_generator(Ref<EditorResourcePreviewGenerator>(memnew(HeightMapPreviewGenerator())));
}
Expand Down

0 comments on commit d17635f

Please sign in to comment.