summaryrefslogtreecommitdiffstats
path: root/application/InstanceWindow.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-07 00:18:27 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-07 00:18:27 +0100
commit7cff5ba2e119ae675661c32811da85cf5efacea5 (patch)
tree9b7104693a1dfb92a00854eb20c09b6bb1d986d6 /application/InstanceWindow.cpp
parent1276ecdbb769a249a969e8d34749b8f245c3031e (diff)
downloadMultiMC-7cff5ba2e119ae675661c32811da85cf5efacea5.tar
MultiMC-7cff5ba2e119ae675661c32811da85cf5efacea5.tar.gz
MultiMC-7cff5ba2e119ae675661c32811da85cf5efacea5.tar.lz
MultiMC-7cff5ba2e119ae675661c32811da85cf5efacea5.tar.xz
MultiMC-7cff5ba2e119ae675661c32811da85cf5efacea5.zip
GH-1445 update page list when version and log pages need it
Diffstat (limited to 'application/InstanceWindow.cpp')
-rw-r--r--application/InstanceWindow.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/application/InstanceWindow.cpp b/application/InstanceWindow.cpp
index f76ae18d..e3d4af66 100644
--- a/application/InstanceWindow.cpp
+++ b/application/InstanceWindow.cpp
@@ -132,7 +132,7 @@ void InstanceWindow::on_InstanceLaunchTask_changed(std::shared_ptr<LaunchTask> p
void InstanceWindow::on_RunningState_changed(bool running)
{
setKillButton(running);
- m_container->refresh();
+ m_container->refreshContainer();
}
void InstanceWindow::on_closeButton_clicked()
@@ -195,6 +195,11 @@ bool InstanceWindow::selectPage(QString pageId)
return m_container->selectPage(pageId);
}
+void InstanceWindow::refreshContainer()
+{
+ m_container->refreshContainer();
+}
+
InstanceWindow::~InstanceWindow()
{
}