Browse Source

Replace QGuiApplication -> Qt

Kentaro Wada 5 years ago
parent
commit
de00a0406b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      labelme/app.py

+ 1 - 1
labelme/app.py

@@ -1407,7 +1407,7 @@ class MainWindow(QtWidgets.QMainWindow):
 
     def openPrevImg(self, _value=False):
         keep_prev = self._config['keep_prev']
-        if QtGui.QGuiApplication.keyboardModifiers() == \
+        if QtGui.Qt.keyboardModifiers() == \
                 (QtCore.Qt.ControlModifier | QtCore.Qt.ShiftModifier):
             self._config['keep_prev'] = True