summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rbutil/rbutilqt/browsedirtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/browsedirtree.cpp b/rbutil/rbutilqt/browsedirtree.cpp
index dd05ab7f70..6c7beb9aa9 100644
--- a/rbutil/rbutilqt/browsedirtree.cpp
+++ b/rbutil/rbutilqt/browsedirtree.cpp
@@ -39,6 +39,7 @@ BrowseDirtree::BrowseDirtree(QWidget *parent, const QString &caption) : QDialog(
ui.tree->setColumnHidden(2, true);
ui.tree->setColumnHidden(3, true);
ui.tree->setAlternatingRowColors(true);
+ ui.tree->setLayoutDirection(Qt::LeftToRight);
}
@@ -55,7 +56,6 @@ void BrowseDirtree::setDir(const QDir &dir)
ui.tree->expand(p);
ui.tree->scrollTo(p);
ui.tree->resizeColumnToContents(0);
- ui.tree->setLayoutDirection(Qt::LeftToRight);
}
}