diff options
Diffstat (limited to 'gui/pages/VersionPage.cpp')
-rw-r--r-- | gui/pages/VersionPage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/pages/VersionPage.cpp b/gui/pages/VersionPage.cpp index 3fd98d27..34599111 100644 --- a/gui/pages/VersionPage.cpp +++ b/gui/pages/VersionPage.cpp @@ -66,6 +66,11 @@ QString VersionPage::id() return "version"; } +bool VersionPage::shouldDisplay() +{ + return !m_inst->isRunning(); +} + VersionPage::VersionPage(OneSixInstance *inst, QWidget *parent) : QWidget(parent), ui(new Ui::VersionPage), m_inst(inst) { |