Commit aa4e4e38 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Hide the filter widget for import in the ItemLibraryWidget

Change-Id: I3a7120793d3a6a34b45a22dbb25cf6a5381580e8
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 04d7ece0
......@@ -287,6 +287,11 @@ void ItemLibraryWidget::emitImportChecked()
void ItemLibraryWidget::setCurrentIndexOfStackedWidget(int index)
{
if (index == 2)
m_filterLineEdit->setVisible(false);
else
m_filterLineEdit->setVisible(true);
m_stackedWidget->setCurrentIndex(index);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment