Merge pull request #632 from fmahnke/focus-fix2
Remove redundant setFocus call, which actually removes focus.
This commit is contained in:
commit
46054d190c
|
@ -54,7 +54,6 @@ void openCheatDialog(QWidget *parent)
|
|||
{
|
||||
win->activateWindow();
|
||||
win->raise();
|
||||
win->setFocus();
|
||||
return;
|
||||
}
|
||||
win = new GuiCheatsDialog_t(parent);
|
||||
|
|
|
@ -63,7 +63,6 @@ int openCDLWindow( QWidget *parent )
|
|||
{
|
||||
cdlWin->activateWindow();
|
||||
cdlWin->raise();
|
||||
cdlWin->setFocus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -4548,7 +4548,6 @@ void debuggerWindowSetFocus(bool val)
|
|||
{
|
||||
dbgWin->activateWindow();
|
||||
dbgWin->raise();
|
||||
dbgWin->setFocus();
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
|
@ -126,7 +126,6 @@ int openFamilyKeyboardDialog(QWidget *parent)
|
|||
{
|
||||
fkbWin->activateWindow();
|
||||
fkbWin->raise();
|
||||
fkbWin->setFocus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -4222,7 +4222,6 @@ int hexEditorOpenFromDebugger( int mode, int addr )
|
|||
{
|
||||
win->activateWindow();
|
||||
win->raise();
|
||||
win->setFocus();
|
||||
}
|
||||
|
||||
win->editor->setMode( mode );
|
||||
|
|
|
@ -108,7 +108,6 @@ int openNameTableViewWindow( QWidget *parent )
|
|||
{
|
||||
nameTableViewWindow->activateWindow();
|
||||
nameTableViewWindow->raise();
|
||||
nameTableViewWindow->setFocus();
|
||||
return -1;
|
||||
}
|
||||
initNameTableViewer();
|
||||
|
|
|
@ -116,7 +116,6 @@ void tasWindowSetFocus(bool val)
|
|||
{
|
||||
tasWin->activateWindow();
|
||||
tasWin->raise();
|
||||
tasWin->setFocus();
|
||||
}
|
||||
}
|
||||
// this getter contains formula to decide whether to record or replay movie
|
||||
|
@ -2917,7 +2916,6 @@ void TasEditorWindow::openFindNoteWindow(void)
|
|||
{
|
||||
findWin->activateWindow();
|
||||
findWin->raise();
|
||||
findWin->setFocus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1211,7 +1211,6 @@ void openTraceLoggerWindow(QWidget *parent)
|
|||
{
|
||||
traceLogWindow->activateWindow();
|
||||
traceLogWindow->raise();
|
||||
traceLogWindow->setFocus();
|
||||
return;
|
||||
}
|
||||
//printf("Open Trace Logger Window\n");
|
||||
|
|
|
@ -92,7 +92,6 @@ int openPPUViewWindow( QWidget *parent )
|
|||
{
|
||||
ppuViewWindow->activateWindow();
|
||||
ppuViewWindow->raise();
|
||||
ppuViewWindow->setFocus();
|
||||
return -1;
|
||||
}
|
||||
initPPUViewer();
|
||||
|
@ -110,7 +109,6 @@ int openOAMViewWindow( QWidget *parent )
|
|||
{
|
||||
spriteViewWindow->activateWindow();
|
||||
spriteViewWindow->raise();
|
||||
spriteViewWindow->setFocus();
|
||||
return -1;
|
||||
}
|
||||
initPPUViewer();
|
||||
|
|
Loading…
Reference in New Issue