From 3522d1121712d79b38012625f8d29ba05de1b379 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Thu, 26 Jan 2017 12:25:40 -0500 Subject: [PATCH] Fix incorrect message about scenarios location --- rsrc/dialogs/no-scenarios.xml | 8 +++++--- src/boe.dlgutil.cpp | 5 ++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/rsrc/dialogs/no-scenarios.xml b/rsrc/dialogs/no-scenarios.xml index 17f21abb..f419acc9 100644 --- a/rsrc/dialogs/no-scenarios.xml +++ b/rsrc/dialogs/no-scenarios.xml @@ -1,11 +1,13 @@ - + - + Blades of Exile currently has no scenarios installed. To install a scenario, copy it (with extra graphics files, if any) - into the Blades of Exile Scenarios folder. + into the Scenarios folder, which may be found at the + following location: + diff --git a/src/boe.dlgutil.cpp b/src/boe.dlgutil.cpp index de892872..3e2b77d3 100644 --- a/src/boe.dlgutil.cpp +++ b/src/boe.dlgutil.cpp @@ -1406,11 +1406,14 @@ static bool pick_a_scen_event_filter(cDialog& me, std::string item_hit, short& p short pick_a_scen() { using namespace std::placeholders; + extern fs::path scenDir; // TODO: Add a button to jump to the scenarios folder build_scen_headers(); if(scen_headers.empty()) { - cChoiceDlog("no-scenarios").show(); + cChoiceDlog err("no-scenarios"); + err->getControl("path").setText(scenDir.string()); + err.show(); return -1; } make_cursor_sword();