mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-10-29 19:27:53 +00:00
lime_qt: Fixed Close Movie button being clickable when no movie is opened
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled
Some checks failed
lime-build / source (push) Has been cancelled
lime-build / linux (appimage) (push) Has been cancelled
lime-build / linux (fresh) (push) Has been cancelled
lime-build / macos (arm64) (push) Has been cancelled
lime-build / macos (x86_64) (push) Has been cancelled
lime-build / windows (msvc) (push) Has been cancelled
lime-build / windows (msys2) (push) Has been cancelled
lime-build / android (push) Has been cancelled
lime-format / clang-format (push) Has been cancelled
lime-transifex / transifex (push) Has been cancelled
lime-build / macos-universal (push) Has been cancelled
lime-build / release (push) Has been cancelled
This commit is contained in:
parent
79f9fc30fe
commit
973faeb9d7
2 changed files with 4 additions and 0 deletions
|
@ -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 a new issue