Skip to content

Commit

Permalink
Qt: move TTY option to TTY tab (#9147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse committed Oct 27, 2020
1 parent 8307f82 commit 8ce0eaa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rpcs3/rpcs3qt/log_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ void log_frame::CreateAndConnectActions()
m_stack_log = checked;
});

m_TTYAct = new QAction(tr("TTY"), this);
m_TTYAct = new QAction(tr("Enable TTY"), this);
m_TTYAct->setCheckable(true);
connect(m_TTYAct, &QAction::triggered, [this](bool checked)
{
Expand All @@ -318,8 +318,6 @@ void log_frame::CreateAndConnectActions()
menu->addActions(m_logLevels->actions());
menu->addSeparator();
menu->addAction(m_stackAct_log);
menu->addSeparator();
menu->addAction(m_TTYAct);
menu->exec(m_log->viewport()->mapToGlobal(pos));
});

Expand All @@ -328,6 +326,7 @@ void log_frame::CreateAndConnectActions()
QMenu* menu = m_tty->createStandardContextMenu();
menu->addAction(m_clearTTYAct);
menu->addSeparator();
menu->addAction(m_TTYAct);
menu->addAction(m_stackAct_tty);
menu->addSeparator();
menu->addActions(m_tty_channel_acts->actions());
Expand Down

0 comments on commit 8ce0eaa

Please sign in to comment.