aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/InstanceWindow.cpp
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-15 10:36:09 +0200
committerGitHub <noreply@github.com>2023-08-15 10:36:09 +0200
commit4b06255cc26933379107745d95f72097737d2a9b (patch)
tree60e00c8389bb2d8e4be492531beb788a253d1b6a /launcher/ui/InstanceWindow.cpp
parent3aba7f8fec45c7c87be486d8f6b5c96f69facf93 (diff)
parent1939e3e6ed3d2d2d4199d90154333cc8892eafeb (diff)
downloadPrismLauncher-4b06255cc26933379107745d95f72097737d2a9b.tar.gz
PrismLauncher-4b06255cc26933379107745d95f72097737d2a9b.tar.bz2
PrismLauncher-4b06255cc26933379107745d95f72097737d2a9b.zip
Merge pull request #1486 from PrismLauncher/staging
Diffstat (limited to 'launcher/ui/InstanceWindow.cpp')
-rw-r--r--launcher/ui/InstanceWindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/launcher/ui/InstanceWindow.cpp b/launcher/ui/InstanceWindow.cpp
index 9c7886fa..7025cb79 100644
--- a/launcher/ui/InstanceWindow.cpp
+++ b/launcher/ui/InstanceWindow.cpp
@@ -2,6 +2,7 @@
/*
* Prism Launcher - Minecraft Launcher
* Copyright (C) 2022 Sefa Eyeoglu <contact@scrumplex.net>
+ * Copyright (C) 2023 TheKodeToad <TheKodeToad@proton.me>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -251,6 +252,11 @@ bool InstanceWindow::selectPage(QString pageId)
return m_container->selectPage(pageId);
}
+BasePage* InstanceWindow::selectedPage() const
+{
+ return m_container->selectedPage();
+}
+
void InstanceWindow::refreshContainer()
{
m_container->refreshContainer();