Hide delete button when findind keys.

This commit is contained in:
SET
2019-10-28 11:50:19 +01:00
parent ecb57eef48
commit c9f56cc7eb
2 changed files with 4 additions and 3 deletions

View File

@@ -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;