mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-25 19:16:55 +01:00
lime_qt: Fixed Close Movie button being clickable when no movie is opened
This commit is contained in:
parent
79f9fc30fe
commit
973faeb9d7
@ -360,6 +360,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…
Reference in New Issue
Block a user