summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Klinger2016-09-29 11:42:03 +0200
committerChristian Klinger2016-09-29 11:42:03 +0200
commitd489795fdb332ee63f6296a2e1df8a8d9439b6e6 (patch)
tree9a3b966ae2bc4f693b1bd07d9cb1cf1aeca66dbb /src
parentReally disable xsession button this time (diff)
downloadvmchooser2-d489795fdb332ee63f6296a2e1df8a8d9439b6e6.tar.gz
vmchooser2-d489795fdb332ee63f6296a2e1df8a8d9439b6e6.tar.xz
vmchooser2-d489795fdb332ee63f6296a2e1df8a8d9439b6e6.zip
modify the pvs checkbox when in exam-mode. (mandatory).
Diffstat (limited to 'src')
-rw-r--r--src/dialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index 8766981..6b934e9 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -68,6 +68,11 @@ Dialog::Dialog(int defaultTab, bool examMode, QWidget *parent)
if (examMode_) {
ui->tabButtonLocal->setEnabled(false);
this->onTabButtonChanged(TAB_ALL_VMS);
+ /* modify the pvs checkbox */
+ ui->PVS_checkbox->setText(tr("join PVS(limited)"));
+ ui->PVS_checkbox->setEnabled(false);
+ ui->PVS_checkbox->setChecked(true);
+
} else {
this->onTabButtonChanged(TAB_NATIVE);
this->selectPreviousSession();