mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-07 07:29:58 +01:00
citra_qt: Fixed Close Movie button being clickable when no movie is opened
This commit is contained in:
parent
22876b186b
commit
cc2146a880
@ -358,6 +358,7 @@ GMainWindow::GMainWindow(Core::System& system_)
|
|||||||
if (fullscreen_override) {
|
if (fullscreen_override) {
|
||||||
ui->action_Fullscreen->setChecked(*fullscreen_override);
|
ui->action_Fullscreen->setChecked(*fullscreen_override);
|
||||||
}
|
}
|
||||||
|
ui->action_Close_Movie->setEnabled(movie_playback_on_start || movie_record_on_start);
|
||||||
|
|
||||||
ConnectAppEvents();
|
ConnectAppEvents();
|
||||||
ConnectMenuEvents();
|
ConnectMenuEvents();
|
||||||
|
|||||||
@ -377,6 +377,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Close</string>
|
<string>Close</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="action_Save_Movie">
|
<action name="action_Save_Movie">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user