diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-10-28 03:36:29 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-10-28 03:42:34 +0200 |
commit | 8731318fefad35acb8a2df408ef809dead1c7c07 (patch) | |
tree | 73faa6aa84e4562c63ae69b3b1241c2cc2189521 /application/widgets/PageContainer.cpp | |
parent | dd0e996081ae820a0f16b5a6854a8a6274c5edf5 (diff) | |
download | MultiMC-8731318fefad35acb8a2df408ef809dead1c7c07.tar MultiMC-8731318fefad35acb8a2df408ef809dead1c7c07.tar.gz MultiMC-8731318fefad35acb8a2df408ef809dead1c7c07.tar.lz MultiMC-8731318fefad35acb8a2df408ef809dead1c7c07.tar.xz MultiMC-8731318fefad35acb8a2df408ef809dead1c7c07.zip |
GH-1652 save all instance settings on launch if instance window is already open
Diffstat (limited to 'application/widgets/PageContainer.cpp')
-rw-r--r-- | application/widgets/PageContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/widgets/PageContainer.cpp b/application/widgets/PageContainer.cpp index 24814d57..840b39d4 100644 --- a/application/widgets/PageContainer.cpp +++ b/application/widgets/PageContainer.cpp @@ -215,7 +215,7 @@ void PageContainer::currentChanged(const QModelIndex ¤t) showPage(current.isValid() ? m_proxyModel->mapToSource(current).row() : -1); } -bool PageContainer::requestClose(QCloseEvent *event) +bool PageContainer::prepareToClose() { for (auto page : m_model->pages()) { |