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

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

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

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

Loading…
Cancel
Save