Commit e9e5be516f6a924f2033f7c5bd650c70595cea53
1 parent
754df0b51d
Exists in
master
and in
2 other branches
창 전환 후 복귀했을 때 포커스가 남아있는 문제 수정
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/gui/oven_control/autocookselectionwindow.cpp
@@ -107,6 +107,8 @@ void AutoCookSelectionWindow::keyReleaseEvent(QKeyEvent *event) | @@ -107,6 +107,8 @@ void AutoCookSelectionWindow::keyReleaseEvent(QKeyEvent *event) | ||
107 | 107 | ||
108 | void AutoCookSelectionWindow::onCookSelected(int idx) | 108 | void AutoCookSelectionWindow::onCookSelected(int idx) |
109 | { | 109 | { |
110 | + setFocus(); | ||
111 | + | ||
110 | AutoCookConfigWindow *w = new AutoCookConfigWindow(this, book.get(idx)); | 112 | AutoCookConfigWindow *w = new AutoCookConfigWindow(this, book.get(idx)); |
111 | w->setWindowModality(Qt::WindowModal); | 113 | w->setWindowModality(Qt::WindowModal); |
112 | w->showFullScreen(); | 114 | w->showFullScreen(); |