Преглед на файлове

Merge pull request #2815 from akien-mga/pr-tooltip-buttons-sample-library

Added tooltip for a few buttons in sample library editor
Juan Linietsky преди 9 години
родител
ревизия
3b2c25e77d
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      tools/editor/plugins/sample_library_editor_plugin.cpp

+ 4 - 0
tools/editor/plugins/sample_library_editor_plugin.cpp

@@ -49,9 +49,13 @@ void SampleLibraryEditor::_notification(int p_what) {
 
 	if (p_what==NOTIFICATION_ENTER_TREE) {
 		play->set_icon( get_icon("Play","EditorIcons") );
+		play->set_tooltip("Play Sample");
 		stop->set_icon( get_icon("Stop","EditorIcons") );
+		stop->set_tooltip("Stop Sample");
 		load->set_icon( get_icon("Folder","EditorIcons") );
+		load->set_tooltip("Open Sample File(s)");
 		_delete->set_icon( get_icon("Del","EditorIcons") );
+		_delete->set_tooltip("Remove Sample");
 	}
 
 	if (p_what==NOTIFICATION_READY) {