mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-05 23:34:59 -06:00
lime_qt: Fixed Close Movie button being clickable when no movie is opened
This commit is contained in:
parent
db915f5dd6
commit
6bf0bdee0e
@ -360,6 +360,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…
Reference in New Issue
Block a user