From 77f271c11f68d6c5915a47a426203788bd0fa5e4 Mon Sep 17 00:00:00 2001 From: Yohann Dedy Date: Sun, 5 Mar 2017 16:29:39 +0100 Subject: [PATCH] Event window and parameter window positioned on upper left corner --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a6c5132..50926f7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -180,6 +180,7 @@ void mainWindow::presetCellClicked(int row, int column) QModelIndex currentEvent = _eventWindow->_eventsTable->model()->index(r,c); _eventWindow->_eventsTable->setCurrentIndex(currentEvent); _eventWindow->_eventsTable->setFocus(); + _eventWindow->move(0,0); _eventWindow->show(); } @@ -194,6 +195,7 @@ void mainWindow::presetCellClicked(int row, int column) QModelIndex currentParam = _paramWindow->_paramNumsTable->model()->index(r,c); _paramWindow->_paramNumsTable->setCurrentIndex(currentParam); _paramWindow->_paramNumsTable->setFocus(); + _paramWindow->move(0,0); _paramWindow->show(); } }