Allowing Swap screens hotkey to swap between displaying only top screen and only bottom screen. (#1283)
This commit is contained in:
parent
bb67e186df
commit
e3ad78e84f
|
@ -2777,6 +2777,22 @@ void MainWindow::onChangeScreenSwap(bool checked)
|
||||||
{
|
{
|
||||||
Config::ScreenSwap = checked?1:0;
|
Config::ScreenSwap = checked?1:0;
|
||||||
|
|
||||||
|
// Swap between top and bottom screen when displaying one screen.
|
||||||
|
if (Config::ScreenSizing == 4)
|
||||||
|
{
|
||||||
|
// Bottom Screen.
|
||||||
|
Config::ScreenSizing = 5;
|
||||||
|
actScreenSizing[4]->setChecked(false);
|
||||||
|
actScreenSizing[Config::ScreenSizing]->setChecked(true);
|
||||||
|
}
|
||||||
|
else if (Config::ScreenSizing == 5)
|
||||||
|
{
|
||||||
|
// Top Screen.
|
||||||
|
Config::ScreenSizing = 4;
|
||||||
|
actScreenSizing[5]->setChecked(false);
|
||||||
|
actScreenSizing[Config::ScreenSizing]->setChecked(true);
|
||||||
|
}
|
||||||
|
|
||||||
emit screenLayoutChange();
|
emit screenLayoutChange();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue