fixed keyframe save/load and goto next key

This commit is contained in:
itsmattkc
2019-01-02 22:43:35 +11:00
parent 37f21d2ff7
commit 215c784f8e
3 changed files with 20 additions and 13 deletions
+2 -2
View File
@@ -80,13 +80,13 @@ void MainWindow::setup_layout(bool reset) {
#endif
// load panels from file
if (!reset) {
if (!reset) {
QFile panel_config(get_data_path() + "/layout");
if (panel_config.exists() && panel_config.open(QFile::ReadOnly)) {
restoreState(panel_config.readAll(), 0);
panel_config.close();
}
}
}
layout()->update();
}