Browse Source

better desktop and template

Former-commit-id: 887ba0c14884b3495e0c111e462ec31ca81624bb
master
Nils 5 years ago
parent
commit
85a6d84934
  1. 3
      qtgui/mainwindow.py
  2. 2
      template

3
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)

2
template

@ -1 +1 @@
Subproject commit 18ec54b47a7d033a9a4597d414b5840f9ae5e4b0
Subproject commit 8b26e40e60b5c8878fde75ed407cf066898d04d9
Loading…
Cancel
Save