summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilApp.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/rbutil/rbutilApp.cpp b/rbutil/rbutilApp.cpp
index f3de467106..b95dfd1e3a 100644
--- a/rbutil/rbutilApp.cpp
+++ b/rbutil/rbutilApp.cpp
@@ -138,6 +138,13 @@ bool rbutilFrmApp::ReadGlobalConfig(rbutilFrm* myFrame)
}
}
+ if (! wxFileExists(buf) )
+ {
+ gv->ErrStr = new wxString(wxT("Configuration file doesnt exist!"));
+ return false;
+ }
+
+
wxFileInputStream* cfgis = new wxFileInputStream(buf);
if (!cfgis->CanRead()) {