From c65188a9b9c2628e63f8b152fc67299146df19ed Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Tue, 24 May 2022 12:35:54 +0300 Subject: [PATCH] UI: Options: "Network Rules" is not implemented yet --- src/ui/form/opt/pages/optmainpage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/form/opt/pages/optmainpage.cpp b/src/ui/form/opt/pages/optmainpage.cpp index 73a5cee4..64831537 100644 --- a/src/ui/form/opt/pages/optmainpage.cpp +++ b/src/ui/form/opt/pages/optmainpage.cpp @@ -84,6 +84,8 @@ void OptMainPage::setupTabBar() m_tabBar->addTab(statisticsPage, IconCache::icon(":/icons/chart_bar.png"), QString()); m_tabBar->addTab(schedulePage, IconCache::icon(":/icons/clock.png"), QString()); + m_tabBar->setTabEnabled(2, false); // TODO: Implement Network Rules + connect(m_tabBar, &QTabWidget::currentChanged, this, [&](int tabIndex) { m_pages[tabIndex]->onPageActivated(); }); }