Cleaning search text field for library at selection of folder from path viewer.

preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent 333adf4afb
commit 67fbd3a135
  1. 1
      src/gui/UBFeaturesActionBar.h
  2. 1
      src/gui/UBFeaturesWidget.cpp

@ -42,6 +42,7 @@ public:
~UBFeaturesActionBar();
void setCurrentState( UBFeaturesActionBarState state );
void cleanText(){ mSearchBar->clear(); }
signals:
void searchElement(const QString &text);

@ -142,6 +142,7 @@ void UBFeaturesWidget::currentSelected(const QModelIndex &current)
centralWidget->showElement(feature, UBFeaturesCentralWidget::FeaturePropertiesList);
mActionBar->setCurrentState( IN_PROPERTIES );
}
mActionBar->cleanText();
}
void UBFeaturesWidget::createNewFolder()

Loading…
Cancel
Save