Fix script editor scrollbar disappear issue

This commit is contained in:
marynate 2014-05-21 01:06:43 +08:00
parent b324ff7ea5
commit 3164784ca3

View file

@ -336,7 +336,7 @@ void TextEdit::_update_scrollbars() {
v_scroll->set_val(cursor.line_ofs); v_scroll->set_val(cursor.line_ofs);
} else { } else {
cursor.line_ofs = 0;
v_scroll->hide(); v_scroll->hide();
} }