summaryrefslogtreecommitdiff
path: root/raphodo/rapid.py
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2017-12-30 12:18:30 -0500
committerAntoine Beaupré <anarcat@debian.org>2017-12-30 12:18:30 -0500
commit88c8bd4cd2ee4707f8a43be4d89c4e040dcced2f (patch)
tree01b10a0d80509730942706333f173c5aa7f239eb /raphodo/rapid.py
parentc5fc6c6030d7d9d1b2af3d5165bebed3decd741b (diff)
New upstream version 0.9.6upstream/0.9.6
Diffstat (limited to 'raphodo/rapid.py')
-rwxr-xr-xraphodo/rapid.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/raphodo/rapid.py b/raphodo/rapid.py
index a0599ae..6c1254a 100755
--- a/raphodo/rapid.py
+++ b/raphodo/rapid.py
@@ -71,6 +71,7 @@ except (ImportError, ValueError):
import zmq
import psutil
import gphoto2 as gp
+import sip
from PyQt5 import QtCore
from PyQt5.QtCore import (
QThread, Qt, QStorageInfo, QSettings, QPoint, QSize, QTimer, QTextStream, QModelIndex,
@@ -1097,7 +1098,7 @@ class RapidWindow(QMainWindow):
settings = QSettings()
settings.beginGroup("MainWindow")
- self.proximityButton.setChecked(settings.value("proximityButtonPressed", False, bool))
+ self.proximityButton.setChecked(settings.value("proximityButtonPressed", True, bool))
self.proximityButtonClicked()
self.sourceButton.setChecked(settings.value("sourceButtonPressed", True, bool))
@@ -5684,6 +5685,7 @@ def get_versions() -> List[str]:
'Python executable: {}'.format(sys.executable),
'Qt: {}'.format(QtCore.QT_VERSION_STR),
'PyQt: {}'.format(QtCore.PYQT_VERSION_STR),
+ 'SIP: {}'.format(sip.SIP_VERSION_STR),
'ZeroMQ: {}'.format(zmq.zmq_version()),
'Python ZeroMQ: {} ({} backend)'.format(zmq.pyzmq_version(), pyzmq_backend),
'gPhoto2: {}'.format(gphoto2_version()),