diff --git a/qtgui/mainwindow.py b/qtgui/mainwindow.py index 432b428..45bfbfa 100644 --- a/qtgui/mainwindow.py +++ b/qtgui/mainwindow.py @@ -147,8 +147,7 @@ class MainWindow(TemplateMainWindow): #There is always a track. Forcing that to be active is better than having to hide all the pattern widgets, or to disable them. #However, we need the engine to be ready. self.chooseCurrentTrack(api.session.data.tracks[0].export()) #By Grabthar's hammer, by the suns of Worvan, what a hack! #TODO: Access to the sessions data structure directly instead of api. Not good. Getter function or api @property is cleaner. - - self.setWindowState(QtCore.Qt.WindowMaximized) + self.ui.gridView.horizontalScrollBar().setSliderPosition(0) self.ui.gridView.verticalScrollBar().setSliderPosition(0) diff --git a/template b/template index 18ec54b..8b26e40 160000 --- a/template +++ b/template @@ -1 +1 @@ -Subproject commit 18ec54b47a7d033a9a4597d414b5840f9ae5e4b0 +Subproject commit 8b26e40e60b5c8878fde75ed407cf066898d04d9