/***************************************************************************
- * Copyright (C) 2005-2015 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "highlightsettingspage.h"
+#include "client.h"
#include "qtui.h"
#include "uisettings.h"
#include <QHeaderView>
HighlightSettingsPage::HighlightSettingsPage(QWidget *parent)
- : SettingsPage(tr("Interface"), tr("Highlight"), parent)
+ : SettingsPage(tr("Interface"), tr("Local Highlights"), parent)
{
ui.setupUi(this);
ui.highlightTable->verticalHeader()->hide();
return false;
}
+
+bool HighlightSettingsPage::isSelectable() const {
+ return !Client::isConnected() || !Client::isCoreFeatureEnabled(Quassel::Feature::CoreSideHighlights);
+}