Browse Source

HackStudio: Reset the cursor to I-beam when switching between files

Andreas Kling 4 năm trước cách đây
mục cha
commit
709b3ccb0a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      DevTools/HackStudio/Editor.cpp

+ 2 - 0
DevTools/HackStudio/Editor.cpp

@@ -470,6 +470,8 @@ void Editor::set_document(GUI::TextDocument& doc)
     ASSERT(doc.is_code_document());
     GUI::TextEditor::set_document(doc);
 
+    set_override_cursor(Gfx::StandardCursor::IBeam);
+
     CodeDocument& code_document = static_cast<CodeDocument&>(doc);
     switch (code_document.language()) {
     case Language::Cpp: