Selaa lähdekoodia

Fixed an initialization bug in ctkPathLineEdit.

Sascha Zelzer 13 vuotta sitten
vanhempi
commit
9aa1f5c2c3
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      Libs/Widgets/ctkPathLineEdit.cpp

+ 3 - 0
Libs/Widgets/ctkPathLineEdit.cpp

@@ -116,6 +116,9 @@ ctkPathLineEdit::ctkPathLineEdit(QWidget *parentWidget)
 {
   Q_D(ctkPathLineEdit);
   d->init();
+
+  this->setNameFilters(nameFilters());
+  this->setFilters(filters());
 }
 
 //-----------------------------------------------------------------------------