diff --git a/src/lime/default_ini.h b/src/lime/default_ini.h index 3d90a11e9..dec0d5714 100644 --- a/src/lime/default_ini.h +++ b/src/lime/default_ini.h @@ -188,6 +188,7 @@ filter_mode = # 3: Side by Side # 4: Separate Windows # 5: Hybrid Screen +# 6: Custom Layout layout_option = # Toggle custom layout (using the settings below) on or off. diff --git a/src/lime_qt/configuration/configure_layout.cpp b/src/lime_qt/configuration/configure_layout.cpp index 5a68dee19..6b9945ff3 100644 --- a/src/lime_qt/configuration/configure_layout.cpp +++ b/src/lime_qt/configuration/configure_layout.cpp @@ -25,7 +25,7 @@ ConfigureLayout::ConfigureLayout(QWidget* parent) connect(ui->layout_combobox, static_cast(&QComboBox::currentIndexChanged), this, [this](int currentIndex) { - ui->custom_layout_group->setEnabled(ui->layout_combobox->currentIndex() == 5); + ui->custom_layout_group->setEnabled(ui->layout_combobox->currentIndex() == 6); }); connect(ui->bg_button, &QPushButton::clicked, this, [this] { diff --git a/src/lime_qt/configuration/configure_layout.ui b/src/lime_qt/configuration/configure_layout.ui index 3feea4d6f..4f71443ec 100644 --- a/src/lime_qt/configuration/configure_layout.ui +++ b/src/lime_qt/configuration/configure_layout.ui @@ -75,6 +75,11 @@ Separate Windows + + + Hybrid Screen + + Custom Layout diff --git a/src/lime_qt/main.cpp b/src/lime_qt/main.cpp index 2f8c998ad..57be4be98 100644 --- a/src/lime_qt/main.cpp +++ b/src/lime_qt/main.cpp @@ -465,9 +465,9 @@ void GMainWindow::InitializeWidgets() { actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Default); actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Single_Screen); actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Large_Screen); - actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Hybrid_Screen); actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Side_by_Side); actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Separate_Windows); + actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Hybrid_Screen); actionGroup_ScreenLayouts->addAction(ui->action_Screen_Layout_Custom_Layout); } diff --git a/src/lime_qt/main.ui b/src/lime_qt/main.ui index c381282f5..8bff4a659 100644 --- a/src/lime_qt/main.ui +++ b/src/lime_qt/main.ui @@ -135,9 +135,9 @@ - + @@ -521,14 +521,6 @@ Large Screen - - - true - - - Hybrid Screen - - true @@ -545,6 +537,14 @@ Separate Windows + + + true + + + Hybrid Screen + + true