Merge pull request #28913 from YeldhamDev/filesystem_open_regression

Fix leftover connection to the "Open" signal in FileSystemDock
This commit is contained in:
Rémi Verschelde 2019-05-16 16:44:48 +02:00 committed by GitHub
commit e20fb10d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -5997,7 +5997,6 @@ EditorNode::EditorNode() {
node_dock = memnew(NodeDock);
filesystem_dock = memnew(FileSystemDock(this));
filesystem_dock->connect("open", this, "open_request");
filesystem_dock->connect("inherit", this, "_inherit_request");
filesystem_dock->connect("instance", this, "_instance_request");
filesystem_dock->connect("display_mode_changed", this, "_save_docks");

View File

@ -613,7 +613,7 @@ void LineEdit::_notification(int p_what) {
#endif
case NOTIFICATION_RESIZED: {
window_pos = 0; //force scroll back since it's expanding to text length
window_pos = 0;
set_cursor_position(get_cursor_position());
} break;