Hide delete button when findind keys.
This commit is contained in:
@@ -25,6 +25,7 @@ K7Main::K7Main(const WEnvironment& env)
|
|||||||
: WApplication(env)
|
: WApplication(env)
|
||||||
{
|
{
|
||||||
m_config = NULL;
|
m_config = NULL;
|
||||||
|
m_btnUpload = NULL; m_btnImport = NULL; m_btnDelete = NULL;
|
||||||
WApplication::setTitle(_APPNAME_);
|
WApplication::setTitle(_APPNAME_);
|
||||||
const WString bundle = WApplication::appRoot() + _APPNAME_;
|
const WString bundle = WApplication::appRoot() + _APPNAME_;
|
||||||
WApplication::instance()->messageResourceBundle().use(bundle.toUTF8());
|
WApplication::instance()->messageResourceBundle().use(bundle.toUTF8());
|
||||||
@@ -147,6 +148,8 @@ void K7Main::Search()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if (m_btnDelete)
|
||||||
|
m_btnDelete->hide();
|
||||||
m_ttbSubKeys->hide();
|
m_ttbSubKeys->hide();
|
||||||
m_ttbUids->hide();
|
m_ttbUids->hide();
|
||||||
Error e;
|
Error e;
|
||||||
|
|||||||
@@ -7,9 +7,7 @@
|
|||||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||||
<group>
|
<group>
|
||||||
<file>file:/home/user/tmp/cpp/WTProjects/K7/main.cpp</file>
|
<file>file:/home/user/Documents/published/K7/K7Main.cpp</file>
|
||||||
<file>file:/home/user/tmp/cpp/WTProjects/K7/K7Main.h</file>
|
|
||||||
<file>file:/home/user/tmp/cpp/WTProjects/K7/K7Main.cpp</file>
|
|
||||||
</group>
|
</group>
|
||||||
</open-files>
|
</open-files>
|
||||||
</project-private>
|
</project-private>
|
||||||
|
|||||||
Reference in New Issue
Block a user