allow to set the default size of musredit via the musredit_startup.xml.

This commit is contained in:
2021-10-02 09:26:13 +02:00
parent df03277c4c
commit 4f2041c141
12 changed files with 72 additions and 5 deletions

View File

@ -102,6 +102,10 @@ PTextEdit::PTextEdit( QWidget *parent )
fDarkToolBarIcon = fAdmin->getDarkThemeIconsToolbarFlag();
}
// keep the default editor width/height
fEditW = fAdmin->getEditWidth();
fEditH = fAdmin->getEditHeight();
// enable file system watcher. Needed to get notification if the msr-file is changed outside of musrfit at runtime
fFileSystemWatcherActive = true;
fFileSystemWatcher = new QFileSystemWatcher();