Application: allow opening URLs in Wine.
Valve seems to have fixed that issue with winebrowser not working properly for URLs.
This commit is contained in:
parent
ceaa3ba6e4
commit
975c4c8664
1 changed files with 4 additions and 4 deletions
|
@ -196,7 +196,7 @@ Application::drawMainMenu() {
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::BeginDisabled(conf().isRunningInWine());
|
//ImGui::BeginDisabled(conf().isRunningInWine());
|
||||||
if(ImGui::BeginMenu("Game##GameMenu")) {
|
if(ImGui::BeginMenu("Game##GameMenu")) {
|
||||||
if(ImGui::MenuItem(ICON_FA_PLAY " Run demo##RunDemoMenuItem")) {
|
if(ImGui::MenuItem(ICON_FA_PLAY " Run demo##RunDemoMenuItem")) {
|
||||||
openUri("steam://run/1048390");
|
openUri("steam://run/1048390");
|
||||||
|
@ -224,9 +224,9 @@ Application::drawMainMenu() {
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
ImGui::EndDisabled();
|
ImGui::EndDisabled();
|
||||||
if(conf().isRunningInWine() && ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) {
|
//if(conf().isRunningInWine() && ImGui::IsItemHovered(ImGuiHoveredFlags_AllowWhenDisabled)) {
|
||||||
ImGui::SetTooltip("Not available when running in Wine.");
|
// ImGui::SetTooltip("Not available when running in Wine.");
|
||||||
}
|
//}
|
||||||
|
|
||||||
#ifdef SAVETOOL_DEBUG_BUILD
|
#ifdef SAVETOOL_DEBUG_BUILD
|
||||||
if(ImGui::BeginMenu("Debug tools")) {
|
if(ImGui::BeginMenu("Debug tools")) {
|
||||||
|
|
Loading…
Reference in a new issue