Commit e973476b9dd80a20c58382a28551cc0186ec616b
1 parent
8092c1c68d
Exists in
fhd
수동 요리 종료 팝업 관련 포커스 문제 수정
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/gui/oven_control/manualcookwindow.cpp
@@ -666,9 +666,12 @@ void ManualCookWindow::onOvenUpdated(Oven *oven) | @@ -666,9 +666,12 @@ void ManualCookWindow::onOvenUpdated(Oven *oven) | ||
666 | emit done(); | 666 | emit done(); |
667 | 667 | ||
668 | if (oven->mode() != Define::CombiMode) { | 668 | if (oven->mode() != Define::CombiMode) { |
669 | + focused = focusWidget(); | ||
670 | + | ||
669 | ManualCookFinishPopup *p = new ManualCookFinishPopup(this); | 671 | ManualCookFinishPopup *p = new ManualCookFinishPopup(this); |
670 | p->showFullScreen(); | 672 | p->showFullScreen(); |
671 | connect(p, SIGNAL(keepWarm()), SLOT(startKeepWarm())); | 673 | connect(p, SIGNAL(keepWarm()), SLOT(startKeepWarm())); |
674 | + connect(p, SIGNAL(destroyed()), SLOT(focusAgain())); | ||
672 | } | 675 | } |
673 | } | 676 | } |
674 | } | 677 | } |