diff --git a/src/hdf5view/__init__.py b/src/hdf5view/__init__.py index ff3981c..bf0d0bc 100644 --- a/src/hdf5view/__init__.py +++ b/src/hdf5view/__init__.py @@ -1 +1 @@ -__version__ = '0.0.4dev0' +__version__ = '0.0.5dev0' diff --git a/src/hdf5view/mainwindow.py b/src/hdf5view/mainwindow.py index 7c246d3..40409b7 100644 --- a/src/hdf5view/mainwindow.py +++ b/src/hdf5view/mainwindow.py @@ -281,7 +281,10 @@ def load_settings(self): self.restoreGeometry(geometry) else: geometry = self.app.desktop().availableGeometry(self) - self.setGeometry(QRect(0, 0, geometry.width() * 0.8, geometry.height() * 0.7)) + self.setGeometry(QRect(0, + 0, + int(geometry.width() * 0.8), + int(geometry.height() * 0.7))) # Restore the window state window_state = settings.value('windowState')