mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-04-28 13:47:59 +03:00
citra_qt: Fixed Close Movie button being clickable when no movie is opened
This commit is contained in:
parent
22876b186b
commit
cc2146a880
2 changed files with 4 additions and 0 deletions
|
@ -358,6 +358,7 @@ GMainWindow::GMainWindow(Core::System& system_)
|
|||
if (fullscreen_override) {
|
||||
ui->action_Fullscreen->setChecked(*fullscreen_override);
|
||||
}
|
||||
ui->action_Close_Movie->setEnabled(movie_playback_on_start || movie_record_on_start);
|
||||
|
||||
ConnectAppEvents();
|
||||
ConnectMenuEvents();
|
||||
|
|
|
@ -377,6 +377,9 @@
|
|||
<property name="text">
|
||||
<string>Close</string>
|
||||
</property>
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Save_Movie">
|
||||
<property name="enabled">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue