fix: QuickSwitcherPopup now pops up in the selected window (#4819)

This commit is contained in:
pajlada
2023-09-17 23:52:17 +02:00
committed by GitHub
parent 3265df7661
commit e6df652a4f
6 changed files with 37 additions and 27 deletions
+2 -3
View File
@@ -492,9 +492,8 @@ void Window::addShortcuts()
return "";
}},
{"openQuickSwitcher",
[](std::vector<QString>) -> QString {
auto quickSwitcher =
new QuickSwitcherPopup(&getApp()->windows->getMainWindow());
[this](std::vector<QString>) -> QString {
auto *quickSwitcher = new QuickSwitcherPopup(this);
quickSwitcher->show();
return "";
}},