Skip to content

Commit

Permalink
GUI: Fix invalid selection mode in PropertyPathItem::createEeditor
Browse files Browse the repository at this point in the history
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and wwmayer committed Oct 19, 2015
1 parent e416ec0 commit 8c93b29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gui/propertyeditor/PropertyItem.cpp
Expand Up @@ -2151,6 +2151,7 @@ QVariant PropertyPathItem::toolTip(const App::Property* prop) const
QWidget* PropertyPathItem::createEditor(QWidget* parent, const QObject* receiver, const char* method) const
{
Gui::FileChooser *fc = new Gui::FileChooser(parent);
fc->setMode(FileChooser::Directory);
fc->setAutoFillBackground(true);
QObject::connect(fc, SIGNAL(fileNameSelected(const QString&)), receiver, method);
return fc;
Expand Down

0 comments on commit 8c93b29

Please sign in to comment.