mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Partially fixed some problems inherent to adding/updating panel items when a filter is applied.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1493 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -190,7 +190,9 @@ void ElementsPanelWidget::reloadAndFilter() {
|
||||
elements_panel -> reload(true);
|
||||
|
||||
// reapplique le filtre
|
||||
elements_panel -> filter(filter_textfield -> text());
|
||||
if (!filter_textfield -> text().isEmpty()) {
|
||||
elements_panel -> filter(filter_textfield -> text());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user