Skip to content

Commit

Permalink
gui: disable controls when not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
JaCzekanski committed Jun 6, 2020
1 parent 03972a8 commit 98c23b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/platform/windows/gui/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,9 @@ void GUI::render(std::unique_ptr<System>& sys) {

toasts.display();

drawControls(sys);
if (config.isEmulatorConfigured()) {
drawControls(sys);
}

// Work in progress
// renderController();
Expand Down

0 comments on commit 98c23b0

Please sign in to comment.