Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pugdebug/gui/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def __init__(self, document_widget, document_model, formatter):

self.syntaxer = PugdebugSyntaxer(self.document(), formatter)

self.viewport().setCursor(Qt.ArrowCursor)

def update_contents(self, document_model):
"""Update the contents of the document

Expand Down
8 changes: 1 addition & 7 deletions pugdebug/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from PyQt5.QtCore import Qt, pyqtSignal
from PyQt5.QtWidgets import (QMainWindow, QToolBar, QMenuBar, QDockWidget,
QAction, QApplication)
from PyQt5.QtGui import QFont, QKeySequence, QCursor
from PyQt5.QtGui import QFont, QKeySequence

from pugdebug.gui.file_browser import PugdebugFileBrowser
from pugdebug.gui.settings import PugdebugSettingsWindow
Expand Down Expand Up @@ -82,12 +82,6 @@ def setup_gui_elements(self):
self.setup_menubar()
self.setup_statusbar()

self.setup_mouse_cursor()

def setup_mouse_cursor(self):
cursor = QCursor(Qt.ArrowCursor)
QApplication.setOverrideCursor(cursor)

def setup_statusbar(self):
self.permanent_statusbar = PugdebugStatusBar()
self.statusBar().addPermanentWidget(self.permanent_statusbar)
Expand Down