diff --git a/K7Main.cpp b/K7Main.cpp index 0a89a12..379fa04 100644 --- a/K7Main.cpp +++ b/K7Main.cpp @@ -25,6 +25,7 @@ K7Main::K7Main(const WEnvironment& env) : WApplication(env) { m_config = NULL; + m_btnUpload = NULL; m_btnImport = NULL; m_btnDelete = NULL; WApplication::setTitle(_APPNAME_); const WString bundle = WApplication::appRoot() + _APPNAME_; WApplication::instance()->messageResourceBundle().use(bundle.toUTF8()); @@ -147,6 +148,8 @@ void K7Main::Search() return; } #endif + if (m_btnDelete) + m_btnDelete->hide(); m_ttbSubKeys->hide(); m_ttbUids->hide(); Error e; diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml index ca16eb4..6d7f00e 100644 --- a/nbproject/private/private.xml +++ b/nbproject/private/private.xml @@ -7,9 +7,7 @@ - file:/home/user/tmp/cpp/WTProjects/K7/main.cpp - file:/home/user/tmp/cpp/WTProjects/K7/K7Main.h - file:/home/user/tmp/cpp/WTProjects/K7/K7Main.cpp + file:/home/user/Documents/published/K7/K7Main.cpp