mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Qt: disable emulated pad settings during emulation
This commit is contained in:
parent
5cc2a7c09e
commit
6180a58d7a
@ -26,6 +26,7 @@ emulated_pad_settings_dialog::emulated_pad_settings_dialog(pad_type type, QWidge
|
||||
setObjectName("emulated_pad_settings_dialog");
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setAttribute(Qt::WA_StyledBackground);
|
||||
setModal(true);
|
||||
|
||||
QVBoxLayout* v_layout = new QVBoxLayout(this);
|
||||
|
||||
|
@ -1841,6 +1841,7 @@ void main_window::OnEmuStop()
|
||||
}
|
||||
ui->actionManage_Users->setEnabled(true);
|
||||
ui->confCamerasAct->setEnabled(true);
|
||||
ui->menuEmulatedPads->setEnabled(true);
|
||||
|
||||
// Refresh game list in order to update time played
|
||||
if (m_game_list_frame && m_is_list_mode)
|
||||
@ -1881,6 +1882,7 @@ void main_window::OnEmuReady() const
|
||||
|
||||
ui->actionManage_Users->setEnabled(false);
|
||||
ui->confCamerasAct->setEnabled(false);
|
||||
ui->menuEmulatedPads->setEnabled(false);
|
||||
}
|
||||
|
||||
void main_window::EnableMenus(bool enabled) const
|
||||
|
Loading…
Reference in New Issue
Block a user